[wp-trac] [WordPress Trac] #49687: wp_mail() - Why is no envelope sender defined?
WordPress Trac
noreply at wordpress.org
Sun Sep 29 08:21:02 UTC 2024
#49687: wp_mail() - Why is no envelope sender defined?
----------------------------------------+------------------------------
Reporter: vbbp | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Mail | Version: 5.4
Severity: minor | Resolution:
Keywords: dev-feedback needs-testing | Focuses:
----------------------------------------+------------------------------
Comment (by knutsp):
I agree that this change, not to set the sender, was harmful.
The thing is the opposite as the indicated reason in the changeset. Not
setting the sender causes the email to be flagged as spam, suspicious, or
"via" in GMail. It affects all common mail systems I know, including via
cPanel and other common hosting platforms, to Outlook/Hotmail, but mostly
to Gmail, probably the most common of all.
The change has given WordPress a bad reputation in ability to send emails
"out of the box". A plugin is needed, either SMTP or, simpler, with a
"phpmailer_init" action to fix it.
The change should be reverted immediately to restore WordPress valid email
sending capability.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49687#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list