[wp-trac] [WordPress Trac] #49687: wp_mail() - Why is no envelope sender defined?
WordPress Trac
noreply at wordpress.org
Mon Oct 11 16:20:24 UTC 2021
#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 jamieburchell):
Just wanted to add myself to the list of people who can't fathom why this
intentional change was made to purposely alter PHPMailer's default by not
setting the envelope sender.
Reading through the other thread, the gist seems to be "because it breaks
some server setups" but it doesn't make sense not to set the proper
headers.
I have full control over the server/postfix setup I use to host my
WordPress projects, with sender dependent relay and authentication
settings. Without the proper envelope sender, the default (wrong) hostname
is used.
To please everyone, why not add the from address/name/envelope sender
fields to the WordPress settings area?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49687#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list