NPM-Mailer
This package has a powerful laravel back-end application for posting mail service.
Installation
Install using npm
npm install npm-mailer --save
OR
npm i npm-mailer
GitLeaf Officially uses npm-mailer
for their mailing module.
Usage
javascript
var Mailer = require("npm-mailer");
var Data =
{
"to": "your-email@sample.com",
"from":"no-replay@domain.com",
"subject": "Sample Mail from vue-mailer",
"title": "Sample Mail from vue-mailer",
"body" : "Hello there, I'm Katheeskumar. I love coding and proud to present this open source application"
}
console.log(Mailer.prepare(Data))
console.log(Mailer.prepareMarkdown(Data))
TypeScript
import * as Mailer from 'npm-mailer';
var Data =
{
"to": "your-email@sample.com",
"from":"no-replay@domain.com",
"subject": "Sample Mail from vue-mailer",
"title": "Sample Mail from vue-mailer",
"body" : "Hello there, I'm Katheeskumar. I love coding and proud to present this open source application"
}
Mailer.prepare(Data);
Browser Support
| | | | | |
---|
Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | 11 ✔ |
License
This project is licensed under the terms of the
@Katheesh.