An open API service indexing awesome lists of open source software.

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.

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)