<< back to sysax.com Product page

6.1. Creating email messages

The mailcreate command is used to create an email message that can be sent to recepients using the mailsend command. The sender's name and email address should be specified in addition to the email's subject field and the email message that needs to be sent. The mailresult predefined status flag is set to the predefined constant success if the command completed successfully.

The syntax is

Exhibit 6.1. table title

mailcreate <sender name>, <sender email address>, <email subject>, <email message>;

Some examples are

Exhibit 6.2. table title

mailcreate "John Doe", "john@jdinc.com", "Script status", "Upload successful!"; #create email message