Make WordPress Core

Opened 3 weeks ago

Last modified 3 weeks ago

#44501 new enhancement

Change "From" email address for GDPR request confirmation email

Reported by: zaffarn Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9.6
Component: Privacy Keywords: reporter-feedback
Focuses: Cc:



Is there a way to change the "From" email address for GDPR personal data export request confirmation email, currently when a request is generated through tools -> Export Personal Data, it sends a request confirmation email however the from email is "Wordpress@…" is it possible to change to something like "info@…"


Change History (2)

#1 @desrosj
3 weeks ago

  • Keywords reporter-feedback added
  • Type changed from defect (bug) to enhancement

@zaffarn thanks for the ticket, and welcome to Trac!

The from email for privacy related emails is the default email used by wp_mail(). You can filter this email and name using wp_mail_from and wp_mail_from_name respectively.

Can you tell me more about your use case? If you need all other site emails to come from the default address and all privacy emails to come from another, that may be a good instance to look into adding a filter of some sort.

#2 @zaffarn
3 weeks ago


Thanks for the swift response, we currently have set "Email address" of wordpress in "Setting - General" as "Info@…" however this works for all other plugins but not this one, this functionality seems to send emails from "Wordpress@…".

With regards to your question are there any uses cases where we may need to use a separate email address, the short answer is yes, normally most automated emails sent by WP can be sent using the generic default email address, however for GDPR request (we) would like to use a different one specifically created for all GDPR requests such as "DPO@…" or "gdpr@…" so that we can keep track of all replies etc easily.

best wishes

Note: See TracTickets for help on using tickets.