[Mailman-Users] variable %(addr) not interpreted in customized template

Jim Tittsler jwt at onjapan.net
Thu Apr 21 11:24:09 CEST 2005


On Apr 21, 2005, at 18:11, Katharina wrote:

> a directory lists/<mylist>/en and copied templates/subscribeack.txt to
> this directory where I edited it. In the new template I wanted as well
> to make the address of the welcomed member visible and so I used the
> variable %(addr). This has unfortunatelly not worked: What I got back
> was the string "%(addr)" itself and no email address. What should I do
> to get it write?

Try %(user)

You can see the variables that are available for substitution by 
checking mailman/Deliver.py's Deliverer.SendSubscribeAck().

-- 
Jim Tittsler     http://www.OnJapan.net/      GPG: 0x01159DB6
Python Starship  http://Starship.Python.net/crew/jwt/
Mailman IRC      irc://irc.freenode.net/#mailman





More information about the Mailman-Users mailing list