3.0.1 • Published 4 years ago

@thorwurtzner/nodemailer-template v3.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

Nodemailer Template

How to install

npm i @thorwurtzner/nodemailer-template

Setting it up

Create a file named .env and paste this

EMAIL = "your-email-here"
PASS = "your-email-password-here"

The import is all ready in the script, and ofcourse keep your .env a secret, don't publish it!

How to use

var nodemailerTemplate = require("@thorwurtzner/nodemailer-template")

nodemailerTemplate(
    // From
    "email@hotmail.com",

    // To
    "email@gmail.com",

    // Subject
    "This is subject text",

    // Text
    "This is email text"
)

Run your file in node, and the email will send by gmail!

3.0.1

4 years ago

3.0.0

4 years ago

2.0.0

4 years ago

1.0.0

4 years ago