@@ -590,7 +590,7 @@ function fail() { //Database connection fails
590590 $ mail ->AddAddress ($ email , $ name );
591591 $ mail ->AddReplyTo ($ reply_to , $ from_name );
592592 $ mail ->AddCustomHeader ('List-Unsubscribe-Post: List-Unsubscribe=One-Click ' );
593- $ mail ->AddCustomHeader ('List-Unsubscribe: < ' .$ app_path .'/unsubscribe/ ' .encrypt_val ($ email ).'/ ' .encrypt_val ($ list ).'/ ' .encrypt_val ($ ares_id ).'/a>, <mailto: ' . $ from_email . ' ?subject=Unsubscribe> ' );
593+ $ mail ->AddCustomHeader ('List-Unsubscribe: < ' .$ app_path .'/unsubscribe/ ' .encrypt_val ($ email ).'/ ' .encrypt_val ($ list ).'/ ' .encrypt_val ($ ares_id ).'/a> ' );
594594 $ server_path_array = explode ('autoresponders.php ' , $ _SERVER ['SCRIPT_FILENAME ' ]);
595595 $ server_path = $ server_path_array [0 ];
596596 if (file_exists ($ server_path .'uploads/attachments/a ' .$ ares_id ))
@@ -1147,7 +1147,7 @@ function fail() { //Database connection fails
11471147 $ mail ->AddAddress ($ email , $ name );
11481148 $ mail ->AddReplyTo ($ reply_to , $ from_name );
11491149 $ mail ->AddCustomHeader ('List-Unsubscribe-Post: List-Unsubscribe=One-Click ' );
1150- $ mail ->AddCustomHeader ('List-Unsubscribe: < ' .$ app_path .'/unsubscribe/ ' .encrypt_val ($ email ).'/ ' .encrypt_val ($ list ).'/ ' .encrypt_val ($ ares_id ).'/a>, <mailto: ' . $ from_email . ' ?subject=Unsubscribe> ' );
1150+ $ mail ->AddCustomHeader ('List-Unsubscribe: < ' .$ app_path .'/unsubscribe/ ' .encrypt_val ($ email ).'/ ' .encrypt_val ($ list ).'/ ' .encrypt_val ($ ares_id ).'/a> ' );
11511151 $ server_path_array = explode ('autoresponders.php ' , $ _SERVER ['SCRIPT_FILENAME ' ]);
11521152 $ server_path = $ server_path_array [0 ];
11531153 if (file_exists ($ server_path .'uploads/attachments/a ' .$ ares_id ))
@@ -1708,7 +1708,7 @@ function fail() { //Database connection fails
17081708 $ mail ->AddAddress ($ email , $ name );
17091709 $ mail ->AddReplyTo ($ reply_to , $ from_name );
17101710 $ mail ->AddCustomHeader ('List-Unsubscribe-Post: List-Unsubscribe=One-Click ' );
1711- $ mail ->AddCustomHeader ('List-Unsubscribe: < ' .$ app_path .'/unsubscribe/ ' .encrypt_val ($ email ).'/ ' .encrypt_val ($ list ).'/ ' .encrypt_val ($ ares_id ).'/a>, <mailto: ' . $ from_email . ' ?subject=Unsubscribe> ' );
1711+ $ mail ->AddCustomHeader ('List-Unsubscribe: < ' .$ app_path .'/unsubscribe/ ' .encrypt_val ($ email ).'/ ' .encrypt_val ($ list ).'/ ' .encrypt_val ($ ares_id ).'/a> ' );
17121712 $ server_path_array = explode ('autoresponders.php ' , $ _SERVER ['SCRIPT_FILENAME ' ]);
17131713 $ server_path = $ server_path_array [0 ];
17141714 if (file_exists ($ server_path .'uploads/attachments/a ' .$ ares_id ))
0 commit comments