mail or mpack do the trick. mpack can send a file
> echo test | mail -s "Subject" who@where
> mpack -s "test"
pi@raspberrypi ~ $ send-mail: Authorization failed (534 5.7.9 https://support.google.com/mail/bin/answer.py?answer=78754 ko4sm35426303pdb.31 - gsmtp)
Was gebt?
I follow bonelifer's suggestion on http://www.raspberrypi.org/forums/viewtopic.php?f=36&t=46218
I go to the Security - Account Settings page and I find Access for Less secure Apps is already Enabled, and 2-Step ver is already disabled... So???
So, I turn ON 2-step verification and then, it (google account security website) magically tells me I can generate and app password, do so, put that in the ssmtp.conf and all is well...
No comments:
Post a Comment