From 67db5a0d626afe97408b97d8588bc86cc238fce8 Mon Sep 17 00:00:00 2001 From: Ian Dunn Date: Fri, 5 Aug 2022 12:02:08 -0700 Subject: [PATCH] Email: Set `From` header to `bounce@` to reduce confusion Sometimes we do want folks to reply to messages, and the `donotreply` address contradicts that. `bounce@` has a similar meaning, but is less known. `bounce@` has the advantage of matching the `Return-Path`, which may reduce the chance of a message being flagged as spam for forging the `From` header. See https://github.com/WordPress/five-for-the-future/pull/206#discussion_r938418815 --- plugins/wporg-5ftf/includes/email.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/wporg-5ftf/includes/email.php b/plugins/wporg-5ftf/includes/email.php index 166bd19..fe54939 100644 --- a/plugins/wporg-5ftf/includes/email.php +++ b/plugins/wporg-5ftf/includes/email.php @@ -25,7 +25,7 @@ defined( 'WPINC' ) || die(); */ function send_email( $to, $subject, $message, $pledge_id = false ) { $headers = array( - 'From: WordPress - Five for the Future ', + 'From: WordPress - Five for the Future ', 'Reply-To: getinvolved@wordpress.org', );