Skip to content

Commit

Permalink
Fixes #13491: Mark generated e-mails with 'auto-generated' according …
Browse files Browse the repository at this point in the history
…to RFC 3834
  • Loading branch information
rombert committed Dec 6, 2011
1 parent ecf3eb7 commit 1880cef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/email_api.php
Expand Up @@ -938,6 +938,7 @@ function email_send( $p_email_data ) {
$mail->From = config_get( 'from_email' );
$mail->Sender = config_get( 'return_path_email' );
$mail->FromName = config_get( 'from_name' );
$mail->AddCustomHeader('Auto-Submitted:auto-generated');

if( OFF !== $t_debug_email ) {
$t_message = 'To: ' . $t_recipient . "\n\n" . $t_message;
Expand Down

0 comments on commit 1880cef

Please sign in to comment.