diff options
| author | bwarsaw | 2002-10-15 05:48:55 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-10-15 05:48:55 +0000 |
| commit | f4fa04dd9e099cfffeb8833f89d899c5b12b3965 (patch) | |
| tree | 549b9c57d219a7b4465d70620283ab32a6cb54e8 /Mailman/MailList.py | |
| parent | d9f5819ff345690274cd4154a42bd1f8671d2071 (diff) | |
| download | mailman-f4fa04dd9e099cfffeb8833f89d899c5b12b3965.tar.gz mailman-f4fa04dd9e099cfffeb8833f89d899c5b12b3965.tar.zst mailman-f4fa04dd9e099cfffeb8833f89d899c5b12b3965.zip | |
ApprovedDeleteMember(): Use the new OwnerNotification class to send
the admin_notify_mchanges notice. This also fixes the bug Chuq saw
where the notification message was sent to the list owners via a
roundtrip through the mta. We now send it directly to the owners.
Diffstat (limited to '')
| -rw-r--r-- | Mailman/MailList.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Mailman/MailList.py b/Mailman/MailList.py index de2962483..dc9a5442a 100644 --- a/Mailman/MailList.py +++ b/Mailman/MailList.py @@ -933,10 +933,11 @@ class MailList(HTMLFormatter, Deliverer, ListAdmin, {'member' : name, 'listname': self.real_name, }, mlist=self) - msg = Message.UserNotification( - self.GetOwnerEmail(), + msg = Message.OwnerNotification( + self, Utils.get_site_email(self.host_name, 'owner'), - subject, text, self.preferred_language) + subject, text) + # Make it look like the msg.send(self) if whence: whence = "; %s" % whence |
