Skip to content

Instantly share code, notes, and snippets.

@robertz
Last active April 18, 2017 13:39
Show Gist options
  • Save robertz/9fa1d2e5ce452e799fee4e104a9c74ee to your computer and use it in GitHub Desktop.
Save robertz/9fa1d2e5ce452e799fee4e104a9c74ee to your computer and use it in GitHub Desktop.
msgDetails = {
to="[email protected]",
from="[email protected]",
subject="example subject",
parts = [
{type="text/plain", body="This is plain text..."},
{type="text/html", body="<strong>bold</strong> text..."}
]
};
new Mail(argumentCollection=msgDetails).send();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment