[Mailman-Developers] HTML Emails

Barry Warsaw barry at python.org
Thu Oct 9 15:03:50 EDT 2003


On Thu, 2003-10-02 at 16:25, Wendt, Trevor wrote:
> I'm looking at using Mailman to distribute a multipart Text / HTML email message. The Text message is displayed for Text only email viewers and the HTML message is displayed for HTML capable email viewers. I'm using a separate CGI script to create the multipart email message which is then sent to my distribution list. This process works great. 
> 
> My question is this; When using the setup outlined above, are there any tokens (such as %(users)s) that I can use in the HTML email message content so when it is passed through Mailman, Mailman would then replace the token with a user's name, email address, or append the full url for the customer's options page?
> 
> This functionality exists in Mailman because all the email templates work on this method. I guess what I need to know is if and how one can tap into this functionality with pass through emails. Any suggestions would be appreciated.

No, not externally.  IOW, Mailman doesn't mailmerge.

But if you wanted to hack some Python, you could probably make it work. 
I plan on working on a more efficient personalization implementation for
the next release.  I'll keep an eye on making it extensible (but only
through Python).

-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/mailman-developers/attachments/20031009/5eaa9bad/attachment.bin


More information about the Mailman-Developers mailing list