Skip to content

Instantly share code, notes, and snippets.

@nanusdad
Created August 9, 2013 02:57
Show Gist options
  • Save nanusdad/6190842 to your computer and use it in GitHub Desktop.
Save nanusdad/6190842 to your computer and use it in GitHub Desktop.
Meteor - email send example
/**
* Meteor - Email send example
* MAIL_URL environment variable required
* e.g smtp://localhost:25
*/
Email.send({
from: config.email.from,
to: mailto,
subject: config.email.subj + todo.name,
html: "<b>" + todo.status + "</b>"
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment