[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mailman-users
Subject:    Re: [Mailman-Users] Custom variabels in body
From:       Mark Sapiro <mark () msapiro ! net>
Date:       2011-03-17 16:45:01
Message-ID: PC195201103170945010078fe3e27cf () MSAPIRO
[Download RAW message or body]

Niklas Hagman - Fiber Direkt AB wrote:

> How can I add the field "member name" in a body if a email? Like "Hello
>Bill" can become "Hello %(user)s". Is it possible?


Mailman does not edit or process substitutions in message body text.
The best you can do is make sure the list is personalized and specify
a msg_header such as

Hello %(user_name)s,


and filter content or otherwise ensure that delivered messages are
single part text/plain so the header is added to the body and not as a
separate MIME part. See the FAQ at <http://wiki.list.org/x/84A9>.

-- 
Mark Sapiro <mark@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: http://mail.python.org/mailman/options/mailman-users/mailman-users%40progressive-comp.com
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic