Skip to content

Send an email with plain node. Without any email helper's packages for it

Notifications You must be signed in to change notification settings

yuPoliakov/puremail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

puremail

Lightweight library for sending an email using pure Node.js. No packages are required except 'tls' and 'dotenv'.

Before use, set .env variables

EMAIL=
PASSWORD=
HOST=173.194.222.108
SERVER_NAME=smtp.gmail.com
LOG_ENABLED=false

Example:

import { sendEmail } from "puremail";
...
sendEmail(subject, recipient, html);

About

Send an email with plain node. Without any email helper's packages for it

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published