Commit 5459db2
committed
Fix SMTP sender verification after WordPress changes
WordPress changeset 61010 removed the third parameter (false) from
setFrom() in wp_mail(), which now causes the Sender header to be
automatically set. This can cause sender verification failures with
some SMTP servers.
This fix explicitly sets Sender property to match From address.
Fixes #151 parent cb82ac0 commit 5459db2
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
| |||
0 commit comments