mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-22 11:03:43 +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
d5448bc10d
commit
67db5a0d62
|
@ -25,7 +25,7 @@ defined( 'WPINC' ) || die();
|
||||||
*/
|
*/
|
||||||
function send_email( $to, $subject, $message, $pledge_id = false ) {
|
function send_email( $to, $subject, $message, $pledge_id = false ) {
|
||||||
$headers = array(
|
$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',
|
'Reply-To: getinvolved@wordpress.org',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue