[wp-trac] [WordPress Trac] #60420: Default sender address

WordPress Trac noreply at wordpress.org
Mon Jul 14 12:30:25 UTC 2025


#60420: Default sender address
-----------------------------+------------------------------
 Reporter:  thinlinecz       |       Owner:  (none)
     Type:  feature request  |      Status:  closed
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Mail             |     Version:  1.5.1.2
 Severity:  normal           |  Resolution:  wontfix
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by knutsp):

 Sending emails has become stricter over the years. The situation for
 WordPress is critical, IMHO.

 1. From/Sender account must exist. I always create wordpress@ as a
 forwarder, or add a filter in a site plugin.
 2. Domain needs MX. This is automatically created in some hosting
 environment, also for subdomains when registered as such (not only
 A/AAAA/CNAME). cPanel does this.
 3. SPF/DKIM/DMARC is needed. cPanel makes at least SPF/DKIM. If on email
 is hosted on another server/system, the SPF must be manually configured to
 allow webserver host to send emails for the domain.
 2. The Sender header must exist as part of the message. I always enable
 this by phpmailer init action. This not being the default is a bug, IMHO.

 SMTP is suggested by most hosts, it seems, since it's hard to explain how
 to ensure direct sending from the webserver is working properly. An expert
 is needed, and for many cPanel works as the "expert", but very often a
 plugin is needed (SMTP or just to add Sender). The difficulties vary a lot
 with the hosting environments.

 I suggest the setup, options(?), the documentation and the
 recommendadtions become a case for the hosting team at wp.org, if they are
 still in operation.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60420#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list