Make WordPress Core

Opened 6 years ago

Last modified 5 years ago

#46333 new defect (bug)

wp_mail successfully working but not sending mails - WordPress 5.1

Reported by: julespryla's profile JulesPryla Owned by:
Milestone: Awaiting Review Priority: normal
Severity: major Version: 5.1
Component: Mail Keywords: needs-testing needs-patch needs-unit-tests 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 (4)

#1 @szepe.viktor
6 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
6 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
6 years ago

Hello @pento ,

Possible duplicate of #46217

Thank you

#4 @Hareesh Pillai
5 years ago

  • Keywords reporter-feedback added; dev-feedback removed
Note: See TracTickets for help on using tickets.