Please help!!!!!!
I am trying to send email with an attachment file from the report script by using the MailUtils from Utilities object. I am getting the "Authentication Credentials invalid" error.
var mailUtils = Utilities.getMailUtils();
.
.
.
.
mailUtils.sendMailWithAttachment(ArisData.ActiveUser(), null, "This is a mail Test", "Hello\nthis is a <b>test mail</b>.\nCheers.", true, [recipient], [toAttach1]);
thanks.
Loi.