05.05.2014 Views

csmstr - Omega Engineering

csmstr - Omega Engineering

csmstr - Omega Engineering

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

FUNCTION REFERENCE<br />

SENDMAIL(RCPT, SUBJECT, BODY)<br />

SENDMAIL(RCPT, SUBJECT, BODY)<br />

ARGUMENT TYPE DESCRIPTION<br />

rcpt int The recipient’s index in the database’s address book.<br />

subject cstring The required subject line for the email.<br />

body cstring The required body text of the email.<br />

DESCRIPTION<br />

Sends an email from the operator interface. The function returns immediately, having first<br />

added the required email to the system’s mail queue. The message will be sent using the<br />

appropriate mail transport as configured in the database.<br />

Note: The first recipient is 0.<br />

FUNCTION TYPE<br />

This function is active.<br />

RETURN TYPE<br />

This function does not return a value.<br />

EXAMPLE<br />

SendMail(1, “Test Subject Line”, “Test Body Text”)<br />

REVISION 6 PAGE 403

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

Saved successfully!

Ooh no, something went wrong!