[Mailman-Users] from field with real name
Stefan Hofmeir
Stefan1 at Hofmeir.de
Thu Feb 17 13:16:41 CET 2005
Hello,
Am Montag, 7. Februar 2005 um 02:48 schrieb Mark Sapiro:
>>How it is possible to sent also a real name like
>>From: "list ABC <mailman at testdomain.de>" in every newsletter?
> You have to hack Mailman/Handlers/Cleanse.py to do this.
thanks!
Original code:
msg['From'] = mlist.GetListEmail()
I tried
msg['From'] = mlist.real_name() % ' <' % mlist.GetListEmail() % '>'
msg['From'] = mlist.real_name() + ' <' + mlist.GetListEmail() + '>'
msg['From'] = mlist.real_name() . ' <' . mlist.GetListEmail() . '>'
but it doesn´t work.
What is the right syntax?
--
Kind regards,
Stefan Hofmeir
More information about the Mailman-Users
mailing list