diff --git a/README.md b/README.md index 270ba2f..bf366ce 100644 --- a/README.md +++ b/README.md @@ -1,68 +1,3 @@ -Mandrill for Meteor -=============== +# Deprecated -Meteor package for sending email via Mandrill's HTTP API. For npm package wrappers, see [mjmasn:mandrill](https://github.com/mjmasn/mandrill/). - -### Usage for SMTP email (CoffeeScript) -```coffeescript - # in server code - Meteor.startup -> - Meteor.Mandrill.config - username: "YOUR_MANDRILL_USERNAME" - key: "YOUR_MANDRILL_API_KEY" - - - # server method to send email via mandrill - @sendEmail = (to, subject, htmlText) -> - Meteor.Mandrill.send - to: to - from: fromEmail - #cc, bcc, replyTo - subject: subject - html: htmlText -``` - -### Usage for API email (coffeescript) -```coffeescript - # in server code - Meteor.Mandrill.sendTemplate - key: "YOUR_MANDRILL_API_KEY" - # template key - template_name: "test1" - # template dynamic content - # example below for when template contains - #