diff options
| author | Barry Warsaw | 2008-12-26 09:04:33 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2008-12-26 09:04:33 -0500 |
| commit | 1ffa4c74935a56a3c5de736fab052e33e4ab3d38 (patch) | |
| tree | e44781f9de6e2ab284990000c08772664e999a5f /mailman/queue/docs | |
| parent | b8e68e7577aa12e0e355aabe2845981f0d73e3b5 (diff) | |
| download | mailman-1ffa4c74935a56a3c5de736fab052e33e4ab3d38.tar.gz mailman-1ffa4c74935a56a3c5de736fab052e33e4ab3d38.tar.zst mailman-1ffa4c74935a56a3c5de736fab052e33e4ab3d38.zip | |
Diffstat (limited to 'mailman/queue/docs')
| -rw-r--r-- | mailman/queue/docs/outgoing.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mailman/queue/docs/outgoing.txt b/mailman/queue/docs/outgoing.txt index 9af554af7..851bdf474 100644 --- a/mailman/queue/docs/outgoing.txt +++ b/mailman/queue/docs/outgoing.txt @@ -47,8 +47,7 @@ injecting a message directly into the outgoing queue. >>> handler = config.handlers['calculate-recipients'] >>> handler.process(mlist, msg, msgdata) - >>> from mailman.queue import Switchboard - >>> outgoing_queue = Switchboard(config.OUTQUEUE_DIR) + >>> outgoing_queue = config.switchboards['out'] >>> ignore = outgoing_queue.enqueue( ... msg, msgdata, ... verp=True, listname=mlist.fqdn_listname, tolist=True, @@ -59,7 +58,7 @@ upstream SMTP, which happens to be our test server. >>> from mailman.queue.outgoing import OutgoingRunner >>> from mailman.testing.helpers import make_testable_runner - >>> outgoing = make_testable_runner(OutgoingRunner) + >>> outgoing = make_testable_runner(OutgoingRunner, 'out') >>> outgoing.run() Three messages have been delivered to our SMTP server, one for each recipient. |
