Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This command is used to manually send mail message through specified SMTP server. Here is command syntax:


Code Block
cmdmgr.exe send_mail --body="message body" [-–mailing="MAILING"] --from="mail from" --recipients="comma or semicolon separated mails" --smtp_host="SMTP server host" --smtp_port="SMTP server port" [--priority=<low|normal|high>] [--subject="message subject"] [--attach_file="attached file"] [--auth_user="authentication user"][--auth_pass="authentication password"]

...

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"

back to top