[Mailman-Users] Custom variabels in body

Mark Sapiro mark at msapiro.net
Thu Mar 17 17:45:01 CET 2011


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 at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list