mailgun-sendhtml

0.10.0 • Public • Published

build:passed

Send emails with mailgun

A simple repo to simplify sending test emails with a Mailgun account.

Setup

The library needs two config files to run:

Mailgun credentials

This JSON file is stored globally in your home directory so that all new projects have access to it. Save this to

~/.mailgun

{
  "privateApi": "your private API key",
  "publicApi": "your public API key",
  "domainName": "your domain"
}

Config file

This file stores the path to you html emails and sender/recipient data.

./mailgunrc.json

{
  "to": ["to@example.com"],
  "from": "from@example.com",
  "paths": ["path to html file"]
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.10.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.10.0
    2
  • 0.9.0
    2

Package Sidebar

Install

npm i mailgun-sendhtml

Weekly Downloads

2

Version

0.10.0

License

MIT

Last publish

Collaborators

  • bfulop