decorative banner

Previous | Next               Table Of Contents > 6 Email notification > 6.1 Creating email messages

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

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

An example is

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


Previous | Next