Question

Ghost can't send mail using Gmail (Google Apps)

  • Posted on March 2, 2015
  • gurdeAsked by gurde

I verified my domain, I added MX records, the user and password is correct.

mail: {
            service: 'Gmail',
            transport: 'SMTP',
            options: {
                host: 'smtp.gmail.com',
                port: 465,
                secureConnection: true,
                auth: {
                    user: '*******@my-domain.com',
                    password: '******'
                }
            }
        }

And I keep getting this error: “AuthError: Invalid login - 535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257

What else should I do?

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

2020 - Same problem. No love. Tried l"allow apps with lower security" Tried App passwords in gmail. Ghost just does not seem to play nice with gmail.

Any solution?? Having the same error! I’m using @gmail.com

Same error here, but i’m using @gmail.com… any solution? Thanks!