https://github.com/shivkanthb/maildawg
🐶 Simple email service for sending welcome emails, reset password mails etc.
https://github.com/shivkanthb/maildawg
Last synced: about 2 months ago
JSON representation
🐶 Simple email service for sending welcome emails, reset password mails etc.
- Host: GitHub
- URL: https://github.com/shivkanthb/maildawg
- Owner: shivkanthb
- Created: 2017-12-14T05:58:39.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-21T08:44:39.000Z (over 7 years ago)
- Last Synced: 2025-01-26T17:46:15.900Z (4 months ago)
- Language: HTML
- Homepage: https://shivkanthb.lib.id/maildawg/
- Size: 20.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Mail Dawg 🐶
is a simple service for sending emails from your app. Primarily intended for sending welcome emails, alerts, password reset, verify account emails etc.
Comes with a really simple responsive HTML email template.
#### Getting Started
To use the mail dawg service for your own app, simply create a service from the source to your stdlib account.Its super simple to run the service as a bg worker with Stdlib - just append `:bg` to the `send` endpoint.
[Fork Source](https://stdlib.com/@shivkanthb/src/maildawg/)#### Usage
Feel free to modify the templates (inside `tmpl`) as you wish.
1. Call the service from your app
```
const lib = require('lib')let mail_data = {
to: "[email protected]",
type: "reset",
subject: "Password reset",
data: {
reset_url: "your-url-with-token"
}
}
lib({bg: true}).username.maildawg.send(mail_data, (err, response) => {});
```2. Access service over http
```
https://username.lib.id/maildawg/send/:bg
```
#### Change Log
0.0.2 - Latest#### Thanks
[Stdlib](https://stdlib.com), [Node Mailer](https://nodemailer.com/), [Ethereal Mail](https://ethereal.email/), [Response HTML Email](https://github.com/leemunroe/responsive-html-email-template)