| << back to sysax.com Product page |
The mailaddline command is used to add an additional line to the message body that was created using the mailcreate command. The mailresult predefined status flag is set to the predefined constant success if the command completed successfully.
The syntax is
Some examples are
Exhibit 6.4. table title
mailcreate "John Doe", "john@jdinc.com", "Script status", "Upload successful!"; #create email message mailaddline "additional message line"; #add an additional line to the email message |
The mailaddfile command is used to attach a file to the message body that was created using the mailcreate command. The mailresult predefined status flag is set to the predefined constant success if the command completed successfully.
The syntax is
Some examples are
Exhibit 6.6. table title
mailcreate "John Doe", "john@jdinc.com", "Script status", "Upload successful!"; #create email message mailaddfile "c:\\temp\\status.txt"; #attach a file to the email message |