On 5/18/2026 8:49 AM, Takashi Yano via Cygwin wrote:

On Mon, 18 May 2026 16:41:25 +0200
Joachim Weimann wrote:
Message from email-command:

"email: FATAL: Smtp error: Lost connection with SMTP server"

Did you set
SMTP_PORT=587
?
And ... in email.conf :

SMTP_AUTH = 'LOGIN'
SMTP_AUTH_USER = ...
SMTP_AUTH_PASS = ...

Unless you pass all of those on the command line.

In any case, it may not work because eMail's SSL support hasn't been changed for modern SSL.

I'm using a patched version (line 175 in eMail/dlib/src/dnet.c: const SSL_METHOD* method = SSLv23_method();), which doesn't work with SSL (port 465), some times works with STARTTLS (port 587).
--
R.B.

--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to