![Black Box LS1016A User Manual Download Page 183](http://html.mh-extra.com/html/black-box/ls1016a/ls1016a_user-manual_2763435183.webp)
Chapter 3 - Additional Features
User Guide
183
Synopsis:
sendmail -t <name>[,<name>] [-c <name> [,<name>]] [-b <name>
[,<name>]] [-r <name>] -f <name> -s <text> -m <text> -h <SMTP
server> [-p <smtp-port>]
where:
For example, to send e-mail to [email protected] (SMTP's IP address 10.0.0.2) from the e-mail
address [email protected] with subject “sendmail test.”
sendmail -t [email protected] -f [email protected] -s "sendmail test" -m "Send-
mail test. \n Is it OK??? " -h 10.0.0.2
-t <name>[,<name>]
“To: ” Required. Multi-part allowed (multiple names are sepa-
rated by commas). Names are expanded as explained below.
[-c <name> [,<name>]]
“Cc: ” Optional. Multi-part allowed (multiple names are sepa-
rated by commas).
[-b <name> [,<name>]]
“Bcc: ” Optional. Multi-part allowed (multiple names are sepa-
rated by commas).
[-r <name> ]
“Reply-To: ” Optional. Use the Reply-To: field to make sure the
destination user can send a reply to a regular mailbox.
-f <name>
“From: ” Required.
-s <text>
"Subject: " Required.
-m <text>
"body" The message body.
-h <SMTP server>
Required. IP address or name of the SMTP server.
[-p <SMTP port>
Optional. The port number used in the connection with the
server. Default: 25.
<name>
Any email address.
<text>
A text field. As this kind of field can contain blank spaces,
please use the quotation marks to enclose the text.