eMail icon indicating copy to clipboard operation
eMail copied to clipboard

email: FATAL: Smtp error: Timeout(10) while trying to read from SMTP server

Open reos-rcrozier opened this issue 4 years ago • 1 comments

I just installed eMail on an Ubuntu 20.04 machine, I have configured an SMTP server, but when I attempt to send an email I get:

$ echo "Test the eMail program" | email -V -s "Testing" [email protected]
Connecting to server mail.gandi.net on port 465
Init connection...                                                                                                                                                                            
email: FATAL: Smtp error: Timeout(10) while trying to read from SMTP server

reos-rcrozier avatar Jan 14 '22 15:01 reos-rcrozier

SSL connections (port 465) don't seem to work with the current version.

If you have an option (i.e. TLS on port 587) you may make it work... but not with the distributed version, it needs a patch (a one line patch in dlib/src/dnet.c:175).

rb07 avatar Jan 14 '22 17:01 rb07