...
Here is list of command parameters:
body – this is message body;
mailing – this parameter means group of mails. Loaded from database. This is optional parameter;
from – mail of message sender. Ignored if mailing used;
recipients – list of comma or semicolon seperated message recipients. Optional parameter if mailing used;
smtp_host – host address of SMTP server. Ignored if mailing used;
smtp_port – port of SMTP server. Ignored if mailing used;
priority – this is message priority. Can be «low», «normal» or «high». This parameter is optional;
subject – this is message subject. Optional parameter;
attach_file – attached file name. Optional parameter
auth_user – user name for SMTP server authentication. Optional parameter;
auth_pass – user password for SMTP server authentication. Optional parameter.
Examples:
Code Block |
---|
cmdmgr.exe send_mail --body="example" --from=from@mail.com --recipients="to1@mail.com;to2@mail.com" --subject="test" --smtp_host=127.0.0.1 --smtp_port=25 cmdmgr.exe send_mail --body="example" --mailing="MAILING" --recipients=to1@mail.com;to2@mail.com --subject="test" --attach_file="D:/test.txt" |
...