The autoresponder
utility is used to manage mail autoresponders
through CLI. By using this utility, you can perform the following tasks:
- creating/deleting autoresponders
- enabling/disabling autoresponders
- editing autoresponder settings
- managing autoresponder attachment files
- managing automatic reply message parameters
Usage
autoresponder <command> <e-mail address> [
<option_1> [<param>]
[<option_2> [<param>]]
... [<option_N> [<param>]]
]
Example
The following command creates and enables autoresponder named
AutoReply for Plesk mail account [email protected], sets the text to
“Thank you for your inquiry. The application form is attached.” and
the subject line to “application form” for the automatic reply
message, attached to the message file applicationform.txt
from the file system.
plesk bin autoresponder --update -mail [email protected] -status true -attach add:"applicationform.txt" -subject "application form" -text "Thank you for your inquiry. The application form is attached."
Commands
Command | Parameter | Description | Example |
---|---|---|---|
--update or -u |
Updates autoresponder settings. Requires |
To reply to mail messages received by [email protected] plesk bin autoresponder --update -mail [email protected] -subject "An autoreply message" or plesk bin autoresponder -u -mail [email protected] -subject "An autoreply message" |
…