[Mailman-Users] Dear "name" field
Mark Sapiro
mark at msapiro.net
Tue Oct 7 18:39:33 CEST 2008
Neil wrote:
>
>Is there is any way to get Mailman to specify "Dear person's name" for
>example at the top of each person's email.
>
>EG:
>
>Dear John,
>
>This month in bla bla bla bla....
You can enable personalization for the list. If you don't see the
'personalize' settings on the Non-digest options list admin page, you
or your provider need to enable it by putting
OWNERS_CAN_ENABLE_PERSONALIZATION = Yes
in mm_cfg.py. Then you can put something like
Dear %(user_name)s,
in msg_header, but note that this will only work well if the messages
are plain text with no attachments. If the message is HTML, the header
will be inserted in a separate MIME part which almost certainly will
not give the result you want.
--
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