The email-command doesn't work
René Berber
rene.berber@gmail.com
Mon May 18 16:49:49 GMT 2026
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.
More information about the Cygwin
mailing list