Skip to main content

Solve error code 535 when send email using Gmail SMTP server

Gmail has SMTP server at smtp.gmail.com which you can use to send email in your website application. However, although you have complete configuration on your web, you may get below error: 
Expected response code 250 but got code "535", with message "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 n8sm18107231yhn.10 - gsmtp"

Here is some steps which help you solve error code 535:

  1. Sign in to your Gmail account. Go to https://www.google.com/settings/security/lesssecureapps and click Enable
  2. Then go to https://accounts.google.com/DisplayUnlockCaptcha and click Continue
Now you can use Gmail SMTP to send email from your web normally.
Wish succeed!

Comments




  1. It's very nice of you to share your knowledge through posts. I love to read stories about your experiences. They're very useful and interesting. I am excited to read the next posts. I'm so grateful for all that you've done. Keep plugging. Many viewers like me fancy your writing. Thank you for sharing precious information with us.Best bulletproof vps service provider.

    ReplyDelete

Post a Comment

Popular posts from this blog

Insert Google Search box into blog/website

Normally, every  blog/website has a search function which supports everyone to easily browse the site contents. But it maybe not really useful and effective. Then Google Custom Search is a brilliant choice for you. How to get it?

Access Facebook.com with Google DNS and hosts file

Facebook is now the most popular social network. You have many friends and many informations which need to be check on it. But a day, you can't access Facebook or can't post an image. You can resolve this problem by simple steps:

Integrate blogspot blogger blog with Dot TK free domain

Blogspot or Blogger is a blog service from Google. This service provides us many functions to make a small website as creating a blog, posting, commenting, . . . But there is a thing which might cause you dissatisfy. That's the blog address is too long, like http://www.your-tips-tricks.blogspot.com . If you own a short Dot TK domain , then your problems will be solved.