Skip to Content.
Sympa Menu

en - Re: [sympa-users] Message counter in Subject

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Nestor Oviedo <address@concealed>
  • Cc: "address@concealed" <address@concealed>
  • Subject: Re: [sympa-users] Message counter in Subject
  • Date: Tue, 2 Dec 2014 10:12:08 -0300

Hi all,
As David said, the list.sequence did the trick!! jeje
Thank you very much for your help!
Regards
Nestor

On Mon, Dec 1, 2014 at 6:43 PM, Steve Shipway <address@concealed> wrote:
So today I learned 2 new things about Sympa:  first, that list.sequence already exists (it would be good to expose this in the list-lists admin function TT2 template output so that listmaster has more ways to judge how active a list is); and secondly, that the subject tagging is processed through TT2.

Thanks for the new information!

Steve

Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
 

From: address@concealed [address@concealed] on behalf of David Verdin [address@concealed]
Sent: Monday, 1 December 2014 10:36 p.m.
To: address@concealed
Subject: Re: [sympa-users] Message counter in Subject

Easy money...

Follow these steps:

Edit the custom_subject parameter od the list and add the string [%list.sequence%].

For example, if your custom_subject looks like this: "Newsletter #[% list.sequence %]", then the first message posted to the list will heve the following string appended at the beginning of the subject: "[Newsletter #1]", the second "[Newsletter #2]", then "[Newsletter #3]", etc. Note that you can't get rid of the brackets. It's hard-coded.

Note that you don't have to set merge_feature to "on" for this. Indeed, each message sent to subscribers being identical, this personnalization is always applied.

(It's even documented in the manual: https://www.sympa.org/manual/parameters-sending#custom_subject)

Cheers,

David





Archive powered by MHonArc 2.6.19+.

Top of Page