diff options
Diffstat (limited to 'Mailman/pipeline')
| -rw-r--r-- | Mailman/pipeline/docs/ack-headers.txt | 1 | ||||
| -rw-r--r-- | Mailman/pipeline/docs/acknowledge.txt | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Mailman/pipeline/docs/ack-headers.txt b/Mailman/pipeline/docs/ack-headers.txt index 8926e6d91..bbede2020 100644 --- a/Mailman/pipeline/docs/ack-headers.txt +++ b/Mailman/pipeline/docs/ack-headers.txt @@ -7,6 +7,7 @@ transformations. Some headers get added, others get changed. Some of these changes depend on mailing list settings and others depend on how the message is getting sent through the system. We'll take things one-by-one. + >>> from Mailman.configuration import config >>> from Mailman.pipeline.cook_headers import process >>> mlist = config.db.list_manager.create(u'_xtest@example.com') >>> mlist.subject_prefix = u'' diff --git a/Mailman/pipeline/docs/acknowledge.txt b/Mailman/pipeline/docs/acknowledge.txt index 3dd92854f..86015d2c4 100644 --- a/Mailman/pipeline/docs/acknowledge.txt +++ b/Mailman/pipeline/docs/acknowledge.txt @@ -5,6 +5,7 @@ When a user posts a message to a mailing list, and that user has chosen to receive acknowledgments of their postings, Mailman will sent them such an acknowledgment. + >>> from Mailman.configuration import config >>> handler = config.handlers['acknowledge'] >>> mlist = config.db.list_manager.create(u'_xtest@example.com') >>> mlist.real_name = u'XTest' |
