Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: 1.0
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (15 sloc) 0.729 kB

Akshell Mail

  • This package provides a simple interface to Mailgun for sending email via Akshell.
  • It is modelled after Ringo Mail

Usage

Sending an email is as simple as:

var mail = require('mail');
mail.send({ 
  mailgun: {server: 'akshell.mailgun.org', key: 'key-12345'}, 
  from: 'test@akshell.com', to: 'test@akshell.com', 
  subject: 'hello', 
  text: 'world'
});

To send HTML instead of plain text, replace the text attribute with html.

The server and key parameters are available via your Mailgun control panel.

To email multiple recipients, set to to be an array of Strings.

Jump to Line
Something went wrong with that request. Please try again.