Tuesday, November 4, 2014

sendmail: Authorization failed

sendmail: Authorization failed (535 5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 wr9sm385093wjb.42 - gsmtp)

sendmail: Authorization failed (534 5.7.14 https://support.google.com/mail/bin/answer.py?answer=78754 dw9sm955443wib.0 - gsmtp)

If were trying to send email from your host using SSMTP and your gmail account and you got this error, don't pannic it's easy to resolve...

Go to https://www.google.com/settings/security/lesssecureapps and enable "Less secure apps" mode.