Friday, December 5, 2014

Das Arbeitets Wunderbar

http://rpi.tnet.com/project/faqs/smtp

mail or mpack do the trick. mpack can send a file

> echo test | mail -s "Subject" who@where
> mpack -s "test" who@where

Hmmm, worked okay for a day.. Now, I get :


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 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