Sendmail - Crestron SIMPL+ Reference Manual

Language reference guide
Hide thumbs Also See for SIMPL+:
Table of Contents

Advertisement

Crestron SIMPL+
Language Reference Guide - DOC. 5797G
®

SendMail

Name:
SendMail
Syntax:
SIGNED_INTEGER SendMail( STRING Server,
STRING UserLogonName,
STRING UserLogonPassword,
STRING From,
STRING To,
STRING CC,
STRING Subject,
STRING Message
Description:
Send an e-mail message using SMTP protocol.
Parameters:
Server - Required. Specifies address of the mail server. It can either be an IP address
in dot-decimal notation (ex: 192.168.16.3) or a name to be resolved with a DNS
server (ex: mail.myisp.com). If a name is given, the control system must be
configured with a DNS server (ADDDNS console command). Maximum field
length: 40.
UserLogonName - Optional, but if authentication is not required, put an empty string
in its place. If the mail server requires authentication, UserLogonName indicates the
user name of the sender for the mail server. An empty string indicates that
authentication is not required. Only "clear text" authentication is implemented.
"Clear text" refers to the authentication method used by the mail server. If the mail
server requires a higher level authentication, mail can not be sent to the mail server.
Maximum field length: 254.
UserLogonPassword - Optional, but if authentication is not required, put an empty
string in its place. If the mail server requires authentication, UserLogonPassword
indicates the password of the sender for the mail server. An empty string indicates
that authentication is not required. Only "clear text" authentication is implemented.
"Clear text" refers to the authentication method used by the mail server. If the mail
server requires a higher level authentication, mail can not be sent to the mail server.
Maximum field length: 254.
From - Required. Specifies the e-mail address of the sender in the a@b.com format.
Only one e-mail address is allowed. Aliases or nicknames are not supported. This
argument is mandatory. Maximum field length: 242.
To - Required. Specifies the e-mail address of the recipient(s) in the a@b.com format.
Multiple recipients may be specified delimited with a ";". This argument is
mandatory. Maximum field length: 65535.
CC - Optional , but put an empty string in its place to indicate that there are no
recipients. Specifies the e-mail address of the carbon copy recipient(s) in the
)
Software
®
SIMPL+
73

Advertisement

Table of Contents
loading

Table of Contents