Make WordPress Core

Opened 23 months ago

Last modified 23 months ago

#56115 new defect (bug)

Prevent default from email to use a subdomain when the siteurl is a subdomain

Reported by: benoitchantre's profile benoitchantre Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 2.1
Component: Mail Keywords:
Focuses: Cc:

Description (last modified by sabernhardt)

When the site url uses a top-level domain or the www subdomain, the default from email is

When the site url uses a sub-domain (not www), then the default from email is 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

Change History (1)

#1 @sabernhardt
23 months ago

  • Component changed from General to Mail
  • Description modified (diff)
Note: See TracTickets for help on using tickets.