Find out more about Elastic Email on SMTP relay for ssmtp.
Adding Elastic Email as an SMTP relay for ssmtp is easy. Edit/etc/ssmtp/ssmtp.confand add the following:
mailhub=smtp.elasticemail.com:587AuthUser=elasticemailusernameAuthPass=elasticemailpasswordUseSTARTTLS=YES
Your changes will come into effect as soon as the next message is sent via ssmtp
.