Skip to Content.
Sympa Menu

en - [sympa-users] Re: Re: Re: Re: Re: Call an external script

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: Rustam <address@concealed>
  • Cc: address@concealed
  • Subject: [sympa-users] Re: Re: Re: Re: Re: Call an external script
  • Date: Tue, 16 Oct 2007 11:13:08 +0200

Yes indeed, you can have several headers of the same type.
These arguments are the passed as an array.
Your subject will then probably be in $you_array[0].

Cheers,

Rustam a écrit :
David,

my script gets "ARRAY(0xa80b0b8)" if I use [msg_header->Subject] in the scenario. How to decode this ? The message subject string was "16.10.07 Subject of Test 1".

Thanks a lot for the explanation about [topic] meaning.


Best regards,
Rustam.


David Verdin wrote:
Rustam,

Subject is an SMTP field which doen't have to be related to topics.
If you just need the subject, you should consider using "[msg_header->Subject]" instead of [topic].

For genuine knowledge alone, let's add:
[topic] doesn't represent a subject field of a message. It represents a way to tag a message with a limited number of key words. That's a way to help sorting messages.
They can be in the subject, in the body or in both of them. You can tell Sympa to look for them in one of these fields or in both.
They can be optional, added by the moderator or the sender.
Please, have a look to the "msg_topic", "msg_topic_keywords_apply_on" and "msg_topic_tagging" parameters which control all this.


Regards,


--
David Verdin
Comité réseau des universités




Archive powered by MHonArc 2.6.19+.

Top of Page