largersmallernormaltext version of this page

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0015270 [phplist] All Other minor always 27-04-09 15:50 04-05-09 13:41
Reporter CS2 View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version FutureDevelopments
Summary 0015270: [feature-request] List-Unsubscribe header
Description 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.
Additional Information I have modified the class.phplistmailer.php file to include the header with this code:
      $url = getConfig("unsubscribeurl");$sep = ereg('\?',$url)?'&':'?';
      $req = Sql_Fetch_Row_Query(sprintf("SELECT uniqid FROM %s WHERE email = '%s'",
                                          $GLOBALS["tables"]["user"],$email));
      $hash = $req[0];
      $unsubscribeurl = sprintf('%s%suid=%s',$url,$sep,$hash);
      $this->addCustomHeader("List-Unsubscribe: $unsubscribeurl");
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0050632)
michiel (administrator)
04-05-09 13:41

phpList does this when phpMailer is not used, but it's true, it would be good to add this when phpMailer is used as well.


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker