Make WordPress Core

Opened 7 years ago

Closed 6 months ago

Last modified 5 months ago

#46333 closed defect (bug) (worksforme)

wp_mail successfully working but not sending mails - WordPress 5.1

Reported by: julespryla's profile JulesPryla Owned by:
Milestone: Priority: normal
Severity: major Version: 5.1
Component: Mail Keywords: reporter-feedback
Focuses: Cc:

Description

The function wp_mail is used by many plugins and always giving a success message but never really sending mails out.

Change History (6)

#1 @szepe.viktor
7 years ago

wp_mail() calls mail() which depends on you PHP environment.

Please try a simple PHP script with only one var_dump(mail()); call to debug it.

#2 @pento
7 years ago

Thank you for the bug report, @JulesPryla!

What version of PHP are you using? There seems to be a related issue with PHP 7.3 (#46217), but that affects WordPress 5.0, too.

Are you able to reproduce the issue with no plugins active on your site?

#3 @bhargavmehta
7 years ago

Hello @pento ,

Possible duplicate of #46217

Thank you

#4 @Hareesh Pillai
6 years ago

  • Keywords reporter-feedback added; dev-feedback removed

#5 @SirLouen
6 months ago

  • Keywords needs-testing needs-patch needs-unit-tests removed
  • Resolution set to worksforme
  • Status changed from new to closed

Since 6 years have passed from the original report and no information has been provided with reporter-feedback waiting.

wp_mail is perfectly working nowadays, so definitely, it's time to close this. @JulesPryla, feel free to comment if you happen to have some instructions to reproduce this issue.

#6 @peterwilsoncc
5 months ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.