|| at Jan 31, 2009 at 3:56 pm
Vish Vishvanath wrote:
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,
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
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 at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan