• In the below post, @wfgerald suggested a mail test. Mine passes because I have the WP SMTP Mail plugin. But if a user gets locked out and get the “Your access has been temporarily blocked” screen with the “Unlock Email” option, mail doesn’t use the same mailer. It’s using the built-in PHP mailer instead, and bounces because it uses my Linux account and incomplete hostname.

    On my other sites, weekly reports make it. It’s just this Locked Out screen that’s not properly sending mail. Any suggestions on ways I can convince it to use the proper sender that the Diagnostic does?

    https://wordpress.org/support/topic/wordfence-plugin-block-outgoing-emails/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hey @sdayman,

    If you disable the WP SMTP plugin does the other emails fail as well?

    Please let me know.

    Thanks,

    Gerroald

    Thread Starter Scott Dayman

    (@sdayman)

    Yes. With the SMTP plugin disabled, the Diagnostic email test now fails in the same way as the lockout email.

    Hey @sdayman,

    Do you receive any other emails from the site with it disabled? You can test this by triggering the “Lost password?” feature found on the wp-login.php page.

    We use the wp_mail() function to trigger emails. Can you please check with your host to make sure it’s enabled and working?

    If you are receiving other emails without the SMTP plugin enabled I’ll bump the developers for their thoughts.

    Thanks,

    Gerroald

    Thread Starter Scott Dayman

    (@sdayman)

    Nope. Lost Password also fails with the SMTP plugin disabled. When enabled, Lost Password and other messages such as failed backups will work.

    It’s *only* the You’ve Been Blocked screen that’s not sending mail.

    As a side note, in WP SMTP, I’ve set it to force the From: address and From name. The UnBlock email is failing because either WordFence is overriding this WP SMTP plugin setting (unlikely, considering WP SMTP is using the Mailgun API), or finding a way to sidestep WP SMTP’s mail interception.

    Hey @sdayman,

    I just wanted to let you know that I’ve shared this with the developers for their thoughts. I’ll be sure to update you when I know more.

    Thanks,

    Gerroald

    Thread Starter Scott Dayman

    (@sdayman)

    Thanks! I look forward to hearing how this goes. No real hurry, as users email me when they get locked out anyhow.

    Hey @sdayman,

    Currently speaking with the developers about this. Can you please share a link to the WP SMTP plugin you’re using? We’d like to take a look at the timing of when the hooks are being called.

    Please let me know.

    Thanks,

    Gerroald

    • This reply was modified 3 years, 9 months ago by WFGerroald.
    Thread Starter Scott Dayman

    (@sdayman)

    It’s WP Mail SMTP routing to Mailgun:
    https://wordpress.org/plugins/wp-mail-smtp/

    • This reply was modified 3 years, 9 months ago by Scott Dayman.
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Locked Out email not going out, but Test mail does’ is closed to new replies.