------------------------------------------------------------
revno: 6548
committer: Barry Warsaw <[EMAIL PROTECTED]>
branch nick: 3.0
timestamp: Sun 2007-09-09 19:13:36 -0400
message:
Support forwarding of held posts.
modified:
Mailman/app/moderator.py
Mailman/docs/requests.txt
=== modified file 'Mailman/app/moderator.py'
--- a/Mailman/app/moderator.py 2007-09-09 17:22:27 +0000
+++ b/Mailman/app/moderator.py 2007-09-09 23:13:36 +0000
@@ -147,7 +147,7 @@
i18n.set_language(language)
try:
fmsg = Message.UserNotification(
- addr, mlist.bounces_address,
+ addresses, mlist.bounces_address,
_('Forward of moderated message'),
lang=language)
finally:
=== modified file 'Mailman/docs/requests.txt'
--- a/Mailman/docs/requests.txt 2007-09-09 17:22:27 +0000
+++ b/Mailman/docs/requests.txt 2007-09-09 23:13:36 +0000
@@ -393,9 +393,29 @@
>>> flush()
>>> qmsg, qdata = dequeue()
>>> print qmsg.as_string()
- XXX
+ Subject: Forward of moderated message
+ From: [EMAIL PROTECTED]
+ To: [EMAIL PROTECTED]
+ MIME-Version: 1.0
+ Content-Type: message/rfc822
+ Message-ID: ...
+ Date: ...
+ Precedence: bulk
+ <BLANKLINE>
+ From: [EMAIL PROTECTED]
+ To: [EMAIL PROTECTED]
+ Subject: Something important
+ Message-ID: <12345>
+ X-List-ID-Hash: 4CF7EAU3SIXBPXBB5S6PEUMO62MWGQN6
+ X-List-Sequence-Number: ...
+ <BLANKLINE>
+ Here's something important about our mailing list.
+ <BLANKLINE>
>>> sorted(qdata.items())
- XXX
+ [('_parsemsg', False), ('listname', '[EMAIL PROTECTED]'),
+ ('nodecorate', True), ('received_time', ...),
+ ('recips', ['[EMAIL PROTECTED]']),
+ ('reduced_list_headers', True), ('version', 3)]
Holding subscription requests
--
https://code.launchpad.net/~mailman-coders/mailman/3.0
You are receiving this branch notification because you are subscribed to it.
To unsubscribe from this branch go to
https://code.launchpad.net/~mailman-coders/mailman/3.0/+subscription/mailman-checkins.
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org