Checking if an email is valid in Google Apps Script
I'm using the built-in api for scripting against Google Spreadsheets to send some booking confirmations, and currently my script breaks if someone has filled in an invalid email. I'd like it to just save some data to a list of guests that haven't been notified, and then proceed with looping through the bookings. This is my current code (simplified): // The variables email, subject and msg are populated. // I've tested that using Browser.msgBox(), and the correct column values are // found and used // The script breaks here, if an incorrect email address has been filled in MailApp.sendEmail