private class EmailSettings { static def sendMail = true // Set this to false to just dump the alert msg to stdout instead of emailing it static def host = 'smtp-server.nyc.rr.com' static def user = '********' static def pwd = '********' static def port = '25' static def subj = 'Today\'s Premieres' static def from = user // Gmail will reject mail via SMTP if the from addr != user id so no point in changing this static def to = '********' // Sometimes Gmail won't send an email addressed to yourself, try a plus address at the end; YMMV static def ssl = 'true' // Gmail requires SSL, other SMTP servers may or may not; this is a STRING setting!