mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-16 16:43:42 +03:00
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
This commit is contained in:
parent
a8ce296de5
commit
4dc03ada83
|
@ -25,7 +25,7 @@ defined( 'WPINC' ) || die();
|
|||
*/
|
||||
function send_email( $to, $subject, $message, $pledge_id = false ) {
|
||||
$headers = array(
|
||||
'From: WordPress - Five for the Future <donotreply@wordpress.org>',
|
||||
'From: WordPress - Five for the Future <bounce@wordpress.org>',
|
||||
'Reply-To: getinvolved@wordpress.org',
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue