On Sat, 9 Mar 2002 18:40:24 -0500 (Eastern Standard Time) Alan G Isaac 
<[EMAIL PROTECTED]> wrote:

AGI> On Sun, 10 Mar 2002  Vadim Zeitlin <[EMAIL PROTECTED]> wrote:
AGI> > 04.03.02 VZ: added possibility to set the message headers from templates
AGI> 
AGI> Might you elaborate on this or point to an elaboration?

 You can now use th following expression in the templates:

        ${header:name?value}

This will set the value of the header "name" in the outgoing message to
"value". For example, here is the part of my anti-spam template discussed
before:

        ${header:to?postmaster@${original:domain}}

This is a complicated example as it uses the result of another template
expansion as the value (another new feature BTW), a simpler one would be
something like this:

        ${header:subject?"last reminder"}

which could be useful if you often send the messages about such subject.

 Regards,
VZ


_______________________________________________
Mahogany-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-users

Reply via email to