largersmallernormaltext version of this page

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015270phplistAll Otherpublic27-04-09 15:5004-05-09 13:41
ReporterCS2 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product VersionFutureDevelopments 
Target Version2.11.XFixed in Version 
Summary0015270: [feature-request] List-Unsubscribe header
DescriptionThe 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 InformationI 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");
TagsNo 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.


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker