sefmail

1.1.4 • Public • Published

sefmail

Send mails through the SimpleMailerAPI for simple mail send for free. No need of a mailserver.

Install

npm i sefmail

Usage

var sefMail = require("sefmail");

// Requires an api token which you can get from the SimpleMailerAPI Site
sefMail.config.apiToken = 'YOUR_API_TOKEN';

// Send a mail
sefMail.mail(from, to, subject, content, callback);

sefMail.mail() parameters

  • from is the sender of the mail with a syntax of Max Mustermann <max@mustermann.com>
  • to is the receiver of the mail with a syntax of max@mustermann.com
  • subject is the subject of the mail
  • content is the content of the mail
  • callback is the callback function - callback(response)

License

ISC

Dependents (0)

Package Sidebar

Install

npm i sefmail

Weekly Downloads

0

Version

1.1.4

License

ISC

Unpacked Size

3.12 kB

Total Files

4

Last publish

Collaborators

  • muckmuck