Update of /cvsroot/mailman/mailman/Mailman
In directory usw-pr-cvs1:/tmp/cvs-serv15899/Mailman

Modified Files:
        MailList.py 
Log Message:
ApprovedAddMember(), ApprovedDeleteMember(): The admin notification
messages should be sent to the -owner address rather than the
self.owner[s] directly.  Also, the messages should look like they're
coming from the site list's -owner.


Index: MailList.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/MailList.py,v
retrieving revision 2.63
retrieving revision 2.64
diff -C2 -d -r2.63 -r2.64
*** MailList.py 14 Mar 2002 04:50:14 -0000      2.63
--- MailList.py 14 Mar 2002 22:36:29 -0000      2.64
***************
*** 816,820 ****
                   }, lang=lang, mlist=self)
              msg = Message.UserNotification(
!                 self.owner, Utils.get_site_email(self.host_name, 'admin'),
                  subject, text, lang)
              msg.send(self)
--- 816,821 ----
                   }, lang=lang, mlist=self)
              msg = Message.UserNotification(
!                 self.GetOwnerEmail(),
!                 Utils.get_site_email(self.host_name, 'owner'),
                  subject, text, lang)
              msg.send(self)
***************
*** 854,858 ****
                   }, mlist=self)
              msg = Message.UserNotification(
!                 self.owner, Utils.get_site_email(self.host_name, 'admin'),
                  subject, text, self.preferred_language)
              msg.send(self)
--- 855,860 ----
                   }, mlist=self)
              msg = Message.UserNotification(
!                 self.GetOwnerEmail(), 
!                 Utils.get_site_email(self.host_name, 'owner'),
                  subject, text, self.preferred_language)
              msg.send(self)


_______________________________________________
Mailman-checkins mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-checkins

Reply via email to