Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bfulop/mailgun-html
Send html mail for testing with Mailgun
https://github.com/bfulop/mailgun-html
Last synced: 11 days ago
JSON representation
Send html mail for testing with Mailgun
- Host: GitHub
- URL: https://github.com/bfulop/mailgun-html
- Owner: bfulop
- Created: 2017-09-14T13:18:18.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-17T15:27:39.000Z (about 7 years ago)
- Last Synced: 2024-12-22T02:12:31.734Z (about 1 month ago)
- Language: JavaScript
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# 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`
```json
{
"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`
```json
{
"to": ["[email protected]"],
"from": "[email protected]",
"paths": ["path to html file"]
}
```