diff options
| author | Barry Warsaw | 2009-01-25 13:01:41 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2009-01-25 13:01:41 -0500 |
| commit | eefd06f1b88b8ecbb23a9013cd223b72ca85c20d (patch) | |
| tree | 72c947fe16fce0e07e996ee74020b26585d7e846 /mailman/commands/docs/echo.txt | |
| parent | 07871212f74498abd56bef3919bf3e029eb8b930 (diff) | |
| download | mailman-eefd06f1b88b8ecbb23a9013cd223b72ca85c20d.tar.gz mailman-eefd06f1b88b8ecbb23a9013cd223b72ca85c20d.tar.zst mailman-eefd06f1b88b8ecbb23a9013cd223b72ca85c20d.zip | |
Diffstat (limited to 'mailman/commands/docs/echo.txt')
| -rw-r--r-- | mailman/commands/docs/echo.txt | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/mailman/commands/docs/echo.txt b/mailman/commands/docs/echo.txt deleted file mode 100644 index 181cc58c8..000000000 --- a/mailman/commands/docs/echo.txt +++ /dev/null @@ -1,30 +0,0 @@ -The 'echo' command -================== - -The mail command 'echo' simply replies with the original command and arguments -to the sender. - - >>> command = config.commands['echo'] - >>> command.name - 'echo' - >>> command.argument_description - '[args]' - >>> command.description - u'Echo an acknowledgement. Arguments are return unchanged.' - -The original message is ignored, but the results receive the echoed command. - - >>> from mailman.app.lifecycle import create_list - >>> mlist = create_list(u'test@example.com') - - >>> from mailman.queue.command import Results - >>> results = Results() - - >>> from mailman.Message import Message - >>> print command.process(mlist, Message(), {}, ('foo', 'bar'), results) - ContinueProcessing.yes - >>> print unicode(results) - The results of your email command are provided below. - <BLANKLINE> - echo foo bar - <BLANKLINE> |
