EasyManua.ls Logo

Crestron SIMPL+ - Page 84

Crestron SIMPL+
374 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Software Crestron SIMPL+
®
74 z SIMPL+
®
Language Reference Guide - DOC. 5797G
a@b.com format. Multiple recipients may be specified delimited with a “;”.
Maximum field length: 65535.
Subject - Optional, but use an empty string to indicate that there is no subject.
Specifies the subject of the e-mail message. Maximum field length: 989.
Message - Optional, but use an empty string to indicate that there is no message.
Specifies the body of the e-mail message. An empty string indicates an empty
message. Maximum field length: 65535.
Return Value:
0 if successful. Otherwise, E-mail Return Error Code is returned. Negative return error
codes indicate that no part of the e-mail was sent (example: user logon password was
incorrect). Positive return error codes indicate a failure (example: one or more
recipient e-mail addresses was invalid), but the e-mail was still sent. In the event of
more than one failure, the return error code of the first failure is returned.
Example:
SIGNED_INTEGER nErr;
nErr = SendMail( “192.168.16.3”,
“UserLogonName”,
“UserLogonPassword”,
“SenderEmailAddress@crestron.com”,
“RecipientEmailAddress@crestron.com”,
“ccEmailAddress@crestron.com”,
“This is the subject”,
“This is the message” );
if ( nErr < 0 )
Print( “Error sending e-mail\n” );
else
Print( “SendMail successful!\n );
Version:
SIMPL+ Version 3.01.xx (Pro 2 only)

Table of Contents

Other manuals for Crestron SIMPL+

Related product manuals