Wordpress doen't send email by GMail account

Posted September 23, 2017 2.2k views
UbuntuApachePHPWordPressEmailUbuntu 16.04

I configured Wordpress with the GMail SMTP

Already config the Google App Settings.

The email is a GSuite email.

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.

Submit an Answer
1 answer


Does this plugin have a log that shows you what happens when trying to send an email? Have you tried enabling WP_DEBUG?

define('WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );

After this try to send an email. Then navigate to /wp-content and check for a debug log file.

cd /var/html/wp-content
ls -l
cat debug.log

It might be worth trying a different plugin. This one has always worked well for me. Even has a FAQ entry for setting it up with Google.

Hope this helps.