Re: The email-command doesn't work

RenĂ© Berber via Cygwin <[email protected]> Mon, 18 May 2026 10:49:49 -0600
Newsgroups gmane.os.cygwin
Message-ID <[email protected]>
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