Skip to content

Instantly share code, notes, and snippets.

@jenglert
Created April 18, 2014 13:27
Show Gist options
  • Save jenglert/11044256 to your computer and use it in GitHub Desktop.
Save jenglert/11044256 to your computer and use it in GitHub Desktop.
private[bulk]
def prepareEmailRequestBody(to: String, from: String, subject: String, body: String) = {
List(
"To: " + to,
"From: " + from,
"Subject: " + subject
).mkString("\r\n") + "\r\n\r\n" + body + "\r\n\r\n-----ET-----386a7a00-8f73-11e3-a781-775966473e19"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment