possible option to get more information about why its failing.
did you by any chance install mpack when you set up ssmtp and mailutils ?
if you did it might give you a better report on why you email is not being sent.
first create 2 files in /home/pi
1 called message.txt and the other called dummy.txt they only need a few characters in the some thing as simple as test123 will do.
now from the command line try this
Code: Select all
mpack -s "Test mail with dummy file attached" -d /home/pi/message.txt /home/pi/dummy.txt someemailb@service.com
replace the last bit with your actual receiving email address.
if it fails to send you should get a report back like this
Code: Select all
sendmail: Authorization failed (535 5.7.8 https://support.google.com/mail/?p=BadCredentials 125sm1890152wmk.6 - gsmtp)
in this example I changed the password in the config file so the mail would not send.