![WP Mail SMTP WordPress plugin image icon](https://www.beekeepersblog.com/wp-content/uploads/2019/05/wp-mail-smtp.jpg)
How to fix WP Mail SMTP Gmail error on sending Test Email
for Gmail users
When you are setting up your SMTP configuration, and when doing a testing you might ran into an issue that says bool(false)
even though you entered all the informations correctly. Lets see how we can fix this.
Select My Account from your Gmail account
![My Account button in your Gmail logged in page - image](http://www.beekeepersblog.com/wp-content/themes/beekeepersblog/resources/blog/2017_11/08/my-account-button-in-your-gmail-logged-in-page.jpg)
In the My Account page, Click the Apps with account access.
![Apps with account access under Sign-in and security page - image](http://www.beekeepersblog.com/wp-content/themes/beekeepersblog/resources/blog/2017_11/08/apps-with-account-access-unde-sign-in-and-security-page.jpg)
Turn on Allow less secure apps
![Turning on Allow less secure apps - image](http://www.beekeepersblog.com/wp-content/themes/beekeepersblog/resources/blog/2017_11/08/turning-on-allow-less-secure-apps.jpg)
After you turn on the Allow less secure app option, you might get a mail from google. This is just a security mail.
![Receiving a message to your inbox from Gmail for security mail - image](http://www.beekeepersblog.com/wp-content/themes/beekeepersblog/resources/blog/2017_11/08/receiving-a-message-to-your-inbox-from-gmail-for-security-mail.jpg)
Now go to WordPress Dashboard and under Settings go to WP Mail SMTP or Email (for older version) and try again with ‘Send Test’. It should work now and you get a result as bool(true)
![WordPress Dashboard with WP Mail SMTP settings - image](http://www.beekeepersblog.com/wp-content/themes/beekeepersblog/resources/blog/2017_11/08/wordpress-dashboard-with-wp-mail-smtp-settings.jpg)
How do you like this article?