Question

Wordpress doen't send email by GMail account

I configured Wordpress with the GMail SMTP

Already config the Google App Settings.

The email is a GSuite email.

Subscribe
Share

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

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.

Hello,

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. https://wordpress.org/plugins/wp-mail-smtp/

Hope this helps.