summaryrefslogtreecommitdiff
path: root/src/mailman/queue/docs
diff options
context:
space:
mode:
authorBarry Warsaw2009-12-28 02:12:24 -0500
committerBarry Warsaw2009-12-28 02:12:24 -0500
commitf422ddd4eb550c1bc76172a1031a7387f5a7ec28 (patch)
treed208668fc0f719f80bbfcd3dad8415d42e0b03aa /src/mailman/queue/docs
parent92c8fc2bbe9f63729adba7d9dba8f444a3388d75 (diff)
downloadmailman-f422ddd4eb550c1bc76172a1031a7387f5a7ec28.tar.gz
mailman-f422ddd4eb550c1bc76172a1031a7387f5a7ec28.tar.zst
mailman-f422ddd4eb550c1bc76172a1031a7387f5a7ec28.zip
* Add REST interface for joining a mailing list.
* add_member() now returns the newly created IMember. * Reorganized several exceptions and exposed them to the REST API. * Added NoSuchListError.
Diffstat (limited to 'src/mailman/queue/docs')
-rw-r--r--src/mailman/queue/docs/outgoing.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mailman/queue/docs/outgoing.txt b/src/mailman/queue/docs/outgoing.txt
index 6188ab35c..cdabdb795 100644
--- a/src/mailman/queue/docs/outgoing.txt
+++ b/src/mailman/queue/docs/outgoing.txt
@@ -18,10 +18,16 @@ move messages to the 'retry queue' for handling delivery failures.
>>> from mailman.interfaces.member import DeliveryMode
>>> add_member(mlist, 'aperson@example.com', 'Anne Person',
... 'password', DeliveryMode.regular, 'en')
+ <Member: Anne Person <aperson@example.com>
+ on test@example.com as MemberRole.member>
>>> add_member(mlist, 'bperson@example.com', 'Bart Person',
... 'password', DeliveryMode.regular, 'en')
+ <Member: Bart Person <bperson@example.com>
+ on test@example.com as MemberRole.member>
>>> add_member(mlist, 'cperson@example.com', 'Cris Person',
... 'password', DeliveryMode.regular, 'en')
+ <Member: Cris Person <cperson@example.com>
+ on test@example.com as MemberRole.member>
Normally, messages would show up in the outgoing queue after the message has
been processed by the rule set and pipeline. But we can simulate that here by