eMail
eMail copied to clipboard
email: FATAL: Smtp error: Timeout(10) while trying to read from SMTP server
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
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).