Skip to Content.
Sympa Menu

en - [sympa-users] Patch for personalized unsubscribe-URL

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Piper Andreas <address@concealed>
  • To: address@concealed
  • Subject: [sympa-users] Patch for personalized unsubscribe-URL
  • Date: Fri, 09 Dec 2011 10:44:41 +0100

Hello all,

the feature of adding a personalized unsubcribe-URL to all messages of a
list is not working as described at
https://www.sympa.org/manual_6.1/message-handling#unsubscription_url
because the variable 'wwsympa_url' is not set correctly in bulk.pl

Please find attached a patch for solving this issue.

A bug-report has been filed at
https://sourcesup.cru.fr/tracker/index.php?func=detail&aid=8094&group_id=23&atid=167

Regards,
Andreas
--
________________________________________________________________________
Dr. Andreas Piper, Hochschulrechenzentrum der Philipps-Univ. Marburg
Hans-Meerwein-Straße, 35032 Marburg, Germany
Phone: +49 6421 28-23521 Fax: -26994 E-Mail: piper at HRZ.Uni-Marburg.DE
*** bulk.pl.ori	2011-08-29 06:57:52.000000000 +0200
--- bulk.pl	2011-12-09 09:37:37.000000000 +0100
***************
*** 246,252 ****
  	$data->{'listname'} = $bulk->{'listname'};
  	$data->{'robot'} = $bulk->{'robot'};
  	$data->{'to'} = $bulk->{'receipients'};
! 	$data->{'wwsympa_url'} = $Conf{'wwsympa_url'};
  	
  	my $rcpt; # It is the email of a subscriber, use it in the foreach
  	my @rcpts = split /,/,$bulk->{'receipients'}; # Contain all the subscribers
--- 246,252 ----
  	$data->{'listname'} = $bulk->{'listname'};
  	$data->{'robot'} = $bulk->{'robot'};
  	$data->{'to'} = $bulk->{'receipients'};
! 	$data->{'wwsympa_url'} = &Conf::get_robot_conf($bulk->{'robot'},'wwsympa_url');
  	
  	my $rcpt; # It is the email of a subscriber, use it in the foreach
  	my @rcpts = split /,/,$bulk->{'receipients'}; # Contain all the subscribers


  • [sympa-users] Patch for personalized unsubscribe-URL, Piper Andreas, 12/09/2011

Archive powered by MHonArc 2.6.19+.

Top of Page