1.0.6 • Published 2 years ago

send_activation_mail v1.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Author: Abduhodi Tursunboyev

in default.json file create following keys: values: smtp_host, smtp_port, smtp_user, smtp_password.

How to use:

const activate = require("send_activation_mail");

const link = ${config.get("api_url")}/api/user/activate/${activation_link};

const header = "Confirmation mail";

await activate(user.email, header, link);

call activate(to, header, link) function and give arguments: to - email address to send email activation; header - Subject of your mail; link - full path of your activation endpoint ex. http://localhost:3000/api/user/activate/{uuid};

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.0

2 years ago