Skip to content

Instantly share code, notes, and snippets.

@jsorge
jsorge / SendGroovyMail
Created February 27, 2014 00:50
SendGroovyMail
/*
SendGroovyMail ( smtpHost; username; password; to; from; subject; body; cc; bcc; attachments; html )
Params:
smtpHost: the smtp server
username: the smtp username
password: the smtp password
to: list of email addresses for the to field
from: the email address to be sent from
subject: the subject of the message