Paul Reilly wrote:
>
>Is it possible to set the From field in the messages that the list
>sends out? At the moment it appears as:
>
>[EMAIL PROTECTED]
>
>But I'd like a decriptive field in there too, so the From field
>shows a gecos type name. Something like:
>
>"ListName  <[EMAIL PROTECTED]>"
>
>Is that possible?

Not without modifying code.

You could look at the definition of GetRequestEmail() in
Mailman/MailList.py. This could easily be changed to return what you
want, but it's used in a lot of places and I don't know that something
won't break, i.e. no warranties - try at your own risk.

e.g. change

    def GetRequestEmail(self):
        return self.getListAddress('request')

to (watch the line wrap)

    def GetRequestEmail(self):
        return '%s <%s>' % (self.real_name,
self.getListAddress('request'))


--
Mark Sapiro <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to