View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0015476||phpList 3 application||Campaign Send Process||public||10-05-10 08:14||25-10-10 21:06|
|Target Version||Fixed in Version||2.11.5|
|Summary||0015476: Add a 'List-Unsubscribe' line to the email header to comply with RFC 2369|
|Description||As a means to facilitate unsubscribing of mailing lists, several large mail providers recommend using the 'List-unsubscribe' header line in emails, as specified in RFC 2369.|
Adding this feature would be in line with existing phpList policy, i.e. to give maximum subscription and unsubscription control to list subscribers.
|Additional Information||Related links:|
|Tags||No tags attached.|
CS2 developed this mod:
===== Start quote =====
I've created a mod that will add the List-Unsubscribe header to emails sent from PHPlist.
The List-Unsubscribe header includes either an email address or web page that can be used for unsubscribing. It allows mail clients that support it the ability to include an "unsubscribe" link or button. Hotmail currently supports this feature and gmail list having this header in their suggested guidelines for increasing delivery rates to gmail. For more information on the header, see this page: http://www.list-unsubscribe.com/
Note, this is not intended as a replacement for the [UNSUBSCRIBE] placeholder, but as a useful counterpart.
Find the following section in admin/class.phplistmailer.php (around line 25):
$this->addCustomHeader("X-Mailer: phplist v".VERSION);
and place this code in there:
$url = getConfig("unsubscribeurl");$sep = ereg('\?',$url)?'&':'?';
$req = Sql_Fetch_Row_Query(sprintf("SELECT uniqid FROM %s WHERE email = '%s'",
$hash = $req;
$unsubscribeurl = sprintf('%s%suid=%s',$url,$sep,$hash);
====== End Quote ======
||Feature appears to have been added in v2.11.5. Changing status to 'feedback'|
||Duplicate of 15270. Closing issue.|