Sending email from LetsEncrypt Container

Is there a recommended way to send email from the LetsEncrypt Container? I tried using sendmail (with my mxroute SMTP server), but I got this error:

23130849271112:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:ssl/record/ssl3_record.c:308:

Is there maybe a different method I should be using? Or is there a way to troubleshoot/resolve this error?

Thanks for your help!

Bump… anybody have any ideas on this? I have to believe that it SHOULD be able to send email since one of the documented configuration variables is EMAIL (“Optional e-mail address used for cert expiration notifications.”)

Any ideas are welcome!

email variable is only used for letsencrypt, so letsencrypt can send you an e-mail at that address when your certs are about to expire.

The recommended way is to use sendmail but you have to pass valid smtp server info to it whenever you send an e-mail.