The Script I'm trying to set up uses the MailApp service to send emails to recipients included in a Ghseet.
function sendProcessingEmail() {
var customerId = AdsApp.currentAccount().getCustomerId();
if (config.emailEachRun && config.emailRecipients &&
config.emailRecipients.length) {
MailApp.sendEmail(
config.emailRecipients.join(','),
customerId + ': Link Checker: Checking is ongoing',
'Link checking is still running on account: ' + customerId +
'. For more details see the spreadsheet: ' +
CONFIG_SPREADSHEET_URL);
setDateAsNow('dateEmailed');
I have noticed that the Script works fine for emails made out of a combination of numbers and letters but fails to send an email when the address contains other characters. Was wondering if anyone knows a workaround for this? Many thanks in advance.