Skip to main content

Solve error code 535 when send email using Gmail SMTP server

Gmail has SMTP server at 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 n8sm18107231yhn.10 - gsmtp"

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

  1. Sign in to your Gmail account. Go to and click Enable
  2. Then go to and click Continue
Now you can use Gmail SMTP to send email from your web normally.
Wish succeed!


  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.


Post a Comment

Popular posts from this blog

Fix network printer error 0x0000709

When printing in the network, sometimes you see the error "Operation could not be completed (error 0x00000709). Double click the printer name and make sure that the printer is connected to the network".  Here we show how to fix the error: Open Windows Control Panel Open Credential Manager Choose Windows Credentials Click Add a Windows credential Internet or network address: input the computer name which share the printer User name: input "guest" Password: leave it blank Then click OK and reconnect the shared printer Do not need: uninstall Windows updates; change Windows registry... This maybe applied for error: 0x00000005, 0x0000011b... Watch the step by step video on here: