I'm writing an email script, and it's working great with plain text, but won't work at all when trying to send HTML as part of a MimeBodyPart. Everything seems to be wired up properly and I'm new to Groovy. Any ideas?
I've put my whole script up here: https://gist.github.com/jsorge/9242032.
Right now it's returning in the middle where the error is happening, but obviously that's only there for debugging.
Thanks for any help!
jared