generic-test
v1.0.0
Published
This is a simple tool to send mails from nodejs using the core library nodemailsender.
Downloads
2
Readme
Generic-mailsender
This is a simple tool to send mails from nodejs using the core library nodemailsender.
Installation
In the root of your project run :
npm i generic-mailsender
Usage
Add the following code and modify as you need it.
const email = require('generic-mailsender');
var options = {
auth_mail: "[email protected]",
auth_pass: "test",
alias: '"Example Header" <',
to: '[email protected], [email protected]',
subject: 'Generic-mailsender | test',
text: 'Hey there, this is a test message sent with generic-mailsender',
};
email.send(options);
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.