Skip to content

Commit 79a92fb

Browse files
committedDec 6, 2011
Fixes #13491: Mark generated e-mails with 'auto-generated' according to RFC 3834
1 parent fe8e82a commit 79a92fb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎core/email_api.php

+1
Original file line numberDiff line numberDiff line change
@@ -959,6 +959,7 @@ function email_send( $p_email_data ) {
959959
$mail->From = config_get( 'from_email' );
960960
$mail->Sender = config_get( 'return_path_email' );
961961
$mail->FromName = config_get( 'from_name' );
962+
$mail->AddCustomHeader('Auto-Submitted:auto-generated');
962963

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

0 commit comments

Comments
 (0)
Please sign in to comment.