Why not send a mail via ssmtp?

Hello. On Ubuntu Server 14.04 mail alerts about system events (boot, authentication, ssh, etc.) is sent using the SMTP settings which are:
/etc/ssmtp/ssmtp.conf
root=myemail@gmail.com 

mailhub=smtp.gmail.com:465 

AuthUser=myemail
AuthPass=parolees

rewriteDomain=gmail.com 

hostname=gmail.com 

FromLineOverride=YES 

UseTLS=YES

/etc/ssmtp/revaliases
root:myemail@gmail.com:smtp.gmail.com:465
www-data:myemail@gmail.com:smtp.gmail.com:465


But on Debian 8 (after installing ssmtp), the same configuration does not work. What can I do?
July 8th 19 at 11:49
1 answer
July 8th 19 at 11:51
Solution
Resolved the issue with msmtp+mutt.

Find more questions by tags Debian