#46333 closed defect (bug) (worksforme)
wp_mail successfully working but not sending mails - WordPress 5.1
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | major | Version: | 5.1 |
| Component: | 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)
#2
@
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?
#5
@
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.
Note: See
TracTickets for help on using
tickets.
wp_mail()callsmail()which depends on you PHP environment.Please try a simple PHP script with only one
var_dump(mail());call to debug it.