This is how I wish I discovered answers on the internet:
Are you having the error
535-5.7.8 Username and Password not accepted. Learn more at when trying to send mail using ruby on rails?
Does this happen after you've changed the password in an account you're using to send the emails?
Does the error persist even after you correct the config file?
Did you Google the term
535-5.7.8 Username and Password not accepted. Learn more at along with all these other terms only to find no solution?
Other terms you may have used (taken from my search history):
- gmail allow action mailer
- gmail allow smtp
- rails smtp mailer not working with gmail
- amazon game boy color
Maybe you thought it was a problem with gmail, as I did. Did you read an uncanny number of Stackoverflow posts where recommend installing an ssl wrapper gem for SMTP that had already been rolled into rails in the 2+ years since the answer was written?
Dear reader, if that desperation describes you, then rejoice for you have discovered this blog entry though clever and intentional use of SEO on my part! I have discovered the solution to this mysterious and frustrating error, and it might be simpler than you think: