18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix: Built-in Scripting Language<br />

Examples<br />

CnfEmail( "smtp.company.com", "Robert@company.com", "pop.company.com", "RobertH",<br />

"Shades556", 100 )<br />

CnfEmail( "smtp.company.com:4455", "Robert@company.com", "pop.company.com:9900",<br />

"RobertH", "Shades556", 5, 1 )<br />

CnfEmail( "195.11.22.33:4455", "Robert@company.com", "195.66.77.88:9900", "RobertH",<br />

"Shades556", 5, 2, "JohnS", "abcd1234" )<br />

GetStatusSendEmailExt<br />

Returns status of the last email sent using the SendEmailExt function.<br />

Function Group Execution Windows Embedded Thin Client<br />

GetStatusSendEmailExt<br />

Synchronous Supported Supported Supported<br />

Syntax<br />

GetStatusSendEmailExt({ | optTagName })<br />

optTagName<br />

Optional tag that causes the function to update its return value. This parameter is optional but<br />

you must use it when configuring this function for an object animation (e.g., Text Data Link,<br />

Position).<br />

Returned value<br />

−2<br />

−1<br />

Incorrect version of the INDMail.DLL library.<br />

The INDMail.DLL library is corrupted.<br />

0 SendEmailExt function is not being executed.<br />

1 Still sending last email. Cannot execute the SendEmailExt function.<br />

2 Last email was sent successfully. You can execute the SendEmailExt function again.<br />

3 There was an error sending the last email. Execute the SendEmailExt function again.<br />

Examples<br />

Tag Name<br />

Expression<br />

Tag GetStatusSendEmailExt( Second )<br />

Tag GetStatusSendEmailExt()<br />

SendEmail<br />

This function sends an email message.<br />

Function Group Execution Windows Embedded Thin Client<br />

SendEmail Email Synchronous Supported Supported Supported<br />

Syntax<br />

SendEmail( strSubject, strMessage, strTo )<br />

Page 708<br />

<strong>InduSoft</strong> Web Studio

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!