sendMail
Alexey Kuksin edited this page Dec 2, 2015
·
1 revision
None
- mailSubject: project name; specified in the JSON config file
- mailList: send email to emails on the mailList; specified in the config file
- mailCmd: command to execute, specifying the subject, list, and log file
Executes the mail command, which sends a notification via mail, and writes information to the log file, including the exitCode (return code from running the mail command) and the mail command.
If an error arises, the except block writes to the log file, recording the time, the mailing error code, and the mail command.
None