1.0.6 • Published 11 months ago

send_activation_mail v1.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
11 months 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

11 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.0

11 months ago