
Hi all,
Running my second install of Mailman, going well, v 2.1.11 on BSD 7.0,
and wondering how to add custom key into welcome messages.
Essentially, I need to add a download link into the welcome emailer,
but it needs to have the email of the recipient inserted into it -
it's a one-time expiring download thank you (of my photographs,
actually.)
Seems non-trivial - anyone else ever tried to do this?
Best
Vish, London, UK

Vish Vishvanath wrote:
The welcome message is built from the subscribeack.txt template which can be edited via the web admin "Edit the public HTML pages and text files" link or according to the information in the FAQ at <http://wiki.list.org/x/jYA9>.
Normally, the only replacements available for a template without modifying the code that uses it are the ones used in the base template, but in this case, there is an additional %(user)s replacement available which will receive the user's email address.
If you actually wanted to add a custom key/value for this template, you'd have to modify the code in the definition of the SendSubscribeAck() method in Mailman/Deliverer.py.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Vish Vishvanath wrote:
The welcome message is built from the subscribeack.txt template which can be edited via the web admin "Edit the public HTML pages and text files" link or according to the information in the FAQ at <http://wiki.list.org/x/jYA9>.
Normally, the only replacements available for a template without modifying the code that uses it are the ones used in the base template, but in this case, there is an additional %(user)s replacement available which will receive the user's email address.
If you actually wanted to add a custom key/value for this template, you'd have to modify the code in the definition of the SendSubscribeAck() method in Mailman/Deliverer.py.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
Vish Vishvanath