Every few days, google apps starts rejecting my username and password with :
SMTPAuthenticationError: (535, '5.7.1 Username and Password not accepted. Learn more at\n5.7.1 http://mail.google.com/support/bin/answer.py?answer=14257 22sm439603yxe.15')
If I go to the google apps login page and try my password, it asks for a captcha. Filling it out correctly, now allows me to send email again for a few days until this happens again.
How can I stop this from happening? Has anyone else seen this when sending automated emails through google apps?
I'm sending registration emails from my website using these settings in django :
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_PORT = 587
EMAIL_HOST_USER = '[email protected]'
EMAIL_HOST_PASSWORD = '*secret*'
EMAIL_USE_TLS = True