summaryrefslogtreecommitdiff
path: root/mailman/commands/docs/echo.txt
diff options
context:
space:
mode:
Diffstat (limited to 'mailman/commands/docs/echo.txt')
-rw-r--r--mailman/commands/docs/echo.txt30
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>