• Resolved finnj

    (@finnj)


    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

    (@finnj)

    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/

    So I updated wp-config.php and functions.php in my child theme as described:

    wp-config.php:

    // SMTP email settings (wp-config.php)
    define( 'SMTP_username', '[email protected]' );  // 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', '[email protected]' );   // 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

    // 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 bnfw

    (@voltronik)

    Hi @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

    (@finnj)

    @bnfw,

    Suggest that you add instructions to setup SMTP in you documentation, if not there already (I couldn’t find it)

    Plugin Author bnfw

    (@voltronik)

    Hi @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.