Email not required at browser
This commit is contained in:
1 parent
dca4a222c5
commit
7fca69c5cc
1 file changed
+9
@@ -1394,6 +1394,15 @@
|
||||
|
||||
function sendEmail(pTitle, pBody, pTo) {
|
||||
try {
|
||||
|
||||
/**
|
||||
Email configuration is not available when running the bot on the browser.
|
||||
*/
|
||||
if (global.CURRENT_EXECUTION_AT === "Browser") {
|
||||
logger.write(MODULE_NAME, "[WARN] sendEmail -> Send emails is disabled from the browser.");
|
||||
return;
|
||||
}
|
||||
|
||||
let emailList = pTo; //TODO Pending to add spam controller
|
||||
let runIndex = context.statusReport.runs.length - 1;
|
||||
|
||||
|
||||
Reference in new issue
Block a user