SendMail Method

Action Example

 

Encapsulates the AutoMate™ action under the “Internet | E-Mail” group, “Send Message.”

 

Declaration

procedure SendMail(Server: OleVariant; Sender: OleVariant; Recipient: OleVariant; CCRecipient: OleVariant; Subject: OleVariant; FileName: OleVariant); safecall;

 

Description

Sends a MIME encoded message using the Internet standard SMTP protocol. The body of the message to be sent should be located in a text file – the path to the text file should be specified in the parameter FileName.

 

NOTE: SMTP user authentication is not currently supported.

 

NOTE: File attachments are not currently supported.