David,
thanks for clarify the no-SMTP in docker image.
You nailed it in your answer - I should have been clearer when i referred to the email server being on the same - it obviously isn't.
However, It still doesn't work, even when i setup as per the host instructions -
Outgoing Server: 125.50.167.72.host.secureserver.net SMTP Port: 465
Note: independent of Plone, the email works - i've tested sending and receiving.
i found the log you reference. I'll attach a small bit here to see if this helps. (note; i tried both local and the above setup during testing and it produced the same log entries (as far as I can tell)
2023-04-13 02:55:06 ERROR [Plone:89][waitress-1] Unable to send test e-mail.
Traceback (most recent call last):
File "/usr/local/lib/python3.11/smtplib.py", line 398, in getreply
line = self.file.readline(_MAXLINE + 1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/socket.py", line 706, in readinto
return self._sock.recv_into(b)
^^^^^^^^^^^^^^^^^^^^^^^
TimeoutError: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/app/lib/python3.11/site-packages/Products/CMFPlone/controlpanel/browser/mail.py", line 80, in handle_test_action
mailhost.send(message,
File "/app/lib/python3.11/site-packages/Products/MailHost/MailHost.py", line 215, in send
self._send(mfrom, mto, msg, immediate)
File "/app/lib/python3.11/site-packages/Products/MailHost/MailHost.py", line 322, in _send
self._makeMailer().send(mfrom, mto, messageText)
File "/app/lib/python3.11/site-packages/zope/sendmail/mailer.py", line 89, in send
self.vote(fromaddr, toaddrs, message)
File "/app/lib/python3.11/site-packages/zope/sendmail/mailer.py", line 62, in vote
self.connection = self.smtp(self.hostname, str(self.port))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/smtplib.py", line 255, in init
(code, msg) = self.connect(host, port)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/smtplib.py", line 343, in connect
(code, msg) = self.getreply()
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/smtplib.py", line 401, in getreply
raise SMTPServerDisconnected("Connection unexpectedly closed: "