Title: Gmail challenges
Last modified: June 9, 2023

---

# Gmail challenges

 *  Resolved [finnj](https://wordpress.org/support/users/finnj/)
 * (@finnj)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/gmail-challenges/)
 * I found out that users with a gmail account does not receive notifications ?
 * checked with one user, that said he got most emails, but was missing some from
   others
 * he checked his spam folder, but nothing there
 * believe it started mid, late May
 * Is this a challenge with gmail that you are aware of ?
   before i start to troubleshoot?
 * i am using php mailer, and checked it is not role related

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [finnj](https://wordpress.org/support/users/finnj/)
 * (@finnj)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/gmail-challenges/#post-16809712)
 * Did some checking and troubleshooting, and believe I got it working now, so if
   others run into the same problem it can possibly be solved without installing
   a smtp plugin:
 * Found a solution here:: [https://seoneurons.com/wordpress/configure-wordpress-smtp/](https://seoneurons.com/wordpress/configure-wordpress-smtp/)
 * So I updated wp-config.php and functions.php in my child theme as described:
 *  wp-config.php:
 *     ```wp-block-code
       // SMTP email settings (wp-config.php)
       define( 'SMTP_username', 'youremail@gmail.com' );  // username of host like Gmail
       define( 'SMTP_password', 'gmail-app-password' );   // password for login into the App
       define( 'SMTP_server', 'smtp.gmail.com' );     // SMTP server address
       define( 'SMTP_FROM', 'youremail@example.com' );   // Your Business Email Address
       define( 'SMTP_NAME', 'Your from Name' );   //  Business From Name
       define( 'SMTP_PORT', '587' );     // Server Port Number
       define( 'SMTP_SECURE', 'tls' );   // Encryption - ssl or tls
       define( 'SMTP_AUTH', true );  // Use SMTP authentication (true|false)
       define( 'SMTP_DEBUG',   0 );  // for debugging purposes only
       ```
   
 * functions.php in child theme
 *     ```wp-block-code
       // Emails settings in functions.php in child theme, values set in wp-config.php 
   
       add_action( 'phpmailer_init', 'my_phpmailer_smtp' );
       function my_phpmailer_smtp( $phpmailer ) {
           $phpmailer->isSMTP();     
           $phpmailer->Host = SMTP_server;  
           $phpmailer->SMTPAuth = SMTP_AUTH;
           $phpmailer->Port = SMTP_PORT;
           $phpmailer->Username = SMTP_username;
           $phpmailer->Password = SMTP_password;
           $phpmailer->SMTPSecure = SMTP_SECURE;
           $phpmailer->From = SMTP_FROM;
           $phpmailer->FromName = SMTP_NAME;
       }
       ```
   
 * What exactly solved it, I do not know, but it could be one of the following:
 * 1: SMTP authentication was added, du not believe it was used before
 * 2: TLS encryption was added
 * 3: My website is at simply.com, and I added their smtp server: websmtp.simply.
   com
 * My site is a small closed site, used for News, Calendar & Collaboration between
   about 20 golf players, so not a lot of activities. The site has activated: “Discourage
   search engines from indexing this site”
 * Notifications are sent on new posts and new comments.
 *  Plugin Author [Jack – BNFW](https://wordpress.org/support/users/voltronik/)
 * (@voltronik)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/gmail-challenges/#post-16810935)
 * Hi [@finnj](https://wordpress.org/support/users/finnj/),
   Thanks for your message
   and glad you got it working.
 * That was going to be my suggestion too (try setting up SMTP).
 * If you need anything else, just let me know.
 *  Thread Starter [finnj](https://wordpress.org/support/users/finnj/)
 * (@finnj)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/gmail-challenges/#post-16810996)
 * @bnfw,
 * Suggest that you add instructions to setup SMTP in you documentation, if not 
   there already (I couldn’t find it)
 *  Plugin Author [Jack – BNFW](https://wordpress.org/support/users/voltronik/)
 * (@voltronik)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/gmail-challenges/#post-16820510)
 * Hi [@finnj](https://wordpress.org/support/users/finnj/),
   Thanks for your suggestion.
   It is there and there’s a prompt when first installing the plugin with a recommendation
   to do so. I’m going to sign-post it better on the main Documentation page though.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Gmail challenges’ is closed to new replies.

 * ![](https://ps.w.org/bnfw/assets/icon.svg?rev=2531573)
 * [Customize WordPress Emails and Alerts - Better Notifications for WP](https://wordpress.org/plugins/bnfw/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bnfw/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bnfw/)
 * [Active Topics](https://wordpress.org/support/plugin/bnfw/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bnfw/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bnfw/reviews/)

## Tags

 * [gmail](https://wordpress.org/support/topic-tag/gmail/)

 * 4 replies
 * 2 participants
 * Last reply from: [Jack – BNFW](https://wordpress.org/support/users/voltronik/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/gmail-challenges/#post-16820510)
 * Status: resolved