Update mailing-send script and mailling card

This commit is contained in:
lmarcouiller 2021-05-12 09:21:28 +02:00
parent cd4583a841
commit 06c1817930
2 changed files with 4 additions and 6 deletions

View File

@ -285,9 +285,8 @@ if (empty($reshook)) {
$moreinheader = '';
if (preg_match('/__UNSUBSCRIBE__/', $message)) {
$moreinheader = make_substitutions('__UNSUBSCRIBE__', $substitutionarray);
$moreinheader = explode('"', $moreinheader);
$moreinheader = "List-Unsubscribe: <".$moreinheader[1].">\n";
$moreinheader = "List-Unsubscribe: <__UNSUBSCRIBE_URL__>\n";
$moreinheader = make_substitutions($moreinheader, $substitutionarray);
}
$arr_file = array();

View File

@ -271,9 +271,8 @@ if ($resql) {
$moreinheader = '';
if (preg_match('/__UNSUBSCRIBE__/', $message)) {
$moreinheader = make_substitutions('__UNSUBSCRIBE__', $substitutionarray);
$moreinheader = explode('"', $moreinheader);
$moreinheader = "List-Unsubscribe: <".$moreinheader[1].">\n";
$moreinheader = "List-Unsubscribe: <__UNSUBSCRIBE_URL__>\n";
$moreinheader = make_substitutions($moreinheader, $substitutionarray);
}
$arr_file = array();