• Resolved lwcorp

    (@lwcorp)


    If someone, for example, used the password reminder, then WordPress states mail was being sent even if it didn’t.

    In my example, my server uses Google G Suite MX settings, so I guess WordPress’ default usage of PHP’s mail() fails. But still it insists mail was sent…

    • This topic was modified 5 years, 1 month ago by Steven Stern (sterndata).
    • This topic was modified 5 years, 1 month ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    wp_mail() calls the phpmailer class and returns the result of its send method. Depending on how PHP itself is sending mail, it could be returning a success based on delivering the mail to the local MTA, which later passes it on (or tries to pass it on) to the receiver’s MX server. So, as far as PHP is concerned, it delivered the mail. It sounds like you’re using one of the SMTP plugins, so the best answer to the question would be found in the code for that plugin. Which plugin are you using?

    Thread Starter lwcorp

    (@lwcorp)

    Sorry, wrong forum. Can someone please delete this entire topic?

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    @lwcorp Please do not report this topic again. There is no reason to delete this topic, just continue in the right place.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    You may have been asking about something else, but *had it been a WordPress question*, I think my answer is pretty good, so it’s staying!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Why does WordPress insist it sent mail when it didn’t?’ is closed to new replies.