[Mailman-Developers] Custom subject lines for subscribeack

John Lange john.lange at bighostbox.com
Wed May 26 11:21:16 EDT 2004


Hello Developers.

I have a client that would like to customize the subject line of the
subscription acknowledgement message that mailman sends out when someone
successfully subscribes.

We have successfully customized the lists/<listname>/en/subscribeack.txt
message and it works great! However there does not appear to be any way
to change the subject line of that message.

I have searched the documentation, list archives, and finally the source
code. I could not find anything in the documentation or the archives but
the relevant lines of source code appear to be here:

Deliverer.py line 75

msg = Message.UserNotification(  
    self.GetMemberAdminEmail(name), self.GetRequestEmail(),
    _('Welcome to the "%(realname)s" mailing list%(digmode)s'),
    text, pluser)                                              

This appears to be a hard-coded subject line. :(

Would there be any work-around that wouldn't effect the subject line of
every list on the system?

Ultimately I believe there should be two new options added to the
General list information page right under "Send welcome message to newly
subscribed members?"

----

Subject line of Welcome message: Welcome to the "%(realname)s" mailing
list%(digmode)s

Body of Welcome message: <default body text>

----

Is there any chance this is something that might make it into Mailman
anytime soon?

Any suggestions, hints, rants etc. are welcome.

Thank you.

-- 
John Lange
BigHostBox.com
(204) 885 0872




More information about the Mailman-Developers mailing list