Skip to Content.
Sympa Menu

en - [sympa-users] sendpasswd.tt2 relative to a list

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Nestor Oviedo <address@concealed>
  • To: "address@concealed" <address@concealed>
  • Subject: [sympa-users] sendpasswd.tt2 relative to a list
  • Date: Thu, 11 Aug 2016 22:38:32 -0300

Hi, how are you?
I've already configured the editfile function to allow customization on sendpasswd.tt2 template. The new created template is located at /home/sympa/list_data/{robot}/{list}/mail_tt2/sendpasswd.tt2, but it's never used.
I checked wwsympa.fcgi at do_subrequest() method, and changed line number 6379 from:
unless (Sympa::send_file($robot, 'sendpasswd', $in{'email'}, $param)) {
to:
unless (Sympa::send_file($list, 'sendpasswd', $in{'email'}, $param)) {

When I test my fix, I get the following error from sympa:

DIED: Can't use string ("ilcf") as a HASH ref while "strict refs" in use at /home/sympa/bin/Sympa/Message.pm line 403.
Sympa::Message::new_from_template('Sympa::Message', Sympa::List <address@concealed>, 'sendpasswd', 'address@concealed', HASH(0xab47930)) called at /home/sympa/bin/Sympa.pm line 711
Sympa::send_file(Sympa::List <address@concealed>, 'sendpasswd', 'address@concealed', HASH(0xab47930)) called at /home/sympa/bin/wwsympa.fcgi line 6379
main::do_subrequest() called at /home/sympa/bin/wwsympa.fcgi line 1637

Could you please help me with this error?

Thanks in advance
Regards
Nestor



  • [sympa-users] sendpasswd.tt2 relative to a list, Nestor Oviedo, 08/12/2016

Archive powered by MHonArc 2.6.19+.

Top of Page