[wp-trac] [WordPress Trac] #56115: Prevent default from email to use a subdomain when the siteurl is a subdomain

WordPress Trac noreply at wordpress.org
Fri Jul 1 22:18:46 UTC 2022


#56115: Prevent default from email to use a subdomain when the siteurl is a
subdomain
---------------------------+------------------------------
 Reporter:  benoitchantre  |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Mail           |     Version:  2.1
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+------------------------------
Changes (by sabernhardt):

 * component:  General => Mail


Old description:

> When the site url uses a top-level domain or the www subdomain, the
> default from email is wordpress at mydomain.com
>
> When the site url uses a sub-domain (not www), then the default from
> email is wordpress at mysubdomain.mydomain.com. In this case, the email will
> be tagged as spam because the from header domain doesn't the top-level
> domain.
>
> Would it be possible de force (rewrite) the siteurl variable to remove
> the subdomain, in order to reduce the chance to have emails marked as
> spam?
>
> Related: #5007

New description:

 When the site url uses a top-level domain or the www subdomain, the
 default from email is `wordpress at mydomain.com`

 When the site url uses a sub-domain (not www), then the default from email
 is `wordpress at mysubdomain.mydomain.com`. In this case, the email will be
 tagged as spam because the from header domain doesn't the top-level
 domain.

 Would it be possible de force (rewrite) the siteurl variable to remove the
 subdomain, in order to reduce the chance to have emails marked as spam?

 Related: #5007

--

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


More information about the wp-trac mailing list