Pannous

Pannous Commit Details

Date:2018-04-25 20:10:18 (2 years 7 months ago)
Author:Grégory Soutadé
Branch:master
Commit:036ad1464ee7d903df2609c5bed15dfa3de438cc
Parents: 847ac05e2d5d357dc0e9e7c66dba8c76260d3483
Message:Change List-(Un)Subscribe id from URL to mailto link

Changes:
Mfuel/app/tasks/pannous.php (2 diffs)

File differences

fuel/app/tasks/pannous.php
107107
108108
109109
110
111
110112
111113
112114
......
137139
138140
139141
140
141
142142
143143
144144
"List-Id: <" . \Config::get('base_url') . "/lists/" . $list->id . ">",
"List-URL: <" . \Config::get('base_url') . "/lists/" . $list->id . ">",
"List-Post: <mailto:" . $list->email . ">",
"List-Subscribe: <mailto:" . $list->email . "?subject=Subscribe>",
"List-Unsubscribe: <mailto:" . $list->email . "?subject=Unsubscribe>",
//"List-Subscribe: <" . \Config::get('base_url') . "/lists/" . $list->id . "/subscribe>",
"Message-ID: <" . sha1(date("U.u") . $mail->from) . "@" . $list->email . ">", // U is seconds since 1900 and u is microseconds
{
\Log::debug("Propagate to " . $user->email);
$target_headers = $headers;
array_push($target_headers, "List-Unsubscribe: <" . \Config::get('base_url') . "/lists/" . $list->id . "/unsubscribe/" . $list->generateSubscribeToken($user) . ">");
/* echo "======================\n"; */
/* echo "==> To " . $user->email . "\r\n"; */
/* echo "==> Subject " . $subject . "\r\n"; */

Archive Download the corresponding diff file

Branches