Raisess / ming

πŸ“¨ A massive email sender tool.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ“¨ Ming

A massive email sender tool.

How to use

Setting up env's

Create a file called .env in the project root. And for the first configuration add this data.

# if you'll use gmail
SMTP_HOST=smtp.gmail.com
# 587 for tls
SMTP_PORT=587

# your email and password
EMAIL_ADDRESS=
EMAIL_PASSWORD=

Your account need to be imtp and less secure apps configuration actives.

Also in .env, you can add the message default data by the way.

SUBJECT=
MESSAGE=
# boolean, if u set this to true, write u html on message field
HTML=

E-mail list

You need to create a file called email_list.txt on the project root.

Using this model:

Person name 1
person1@email.com
Person name 2
person2@email.com
Person name 3
person3@email.com
...
...

Running the code

You'll need NodeJS LTS and Typescript in your machine.

All commands are used on project folder.

Installing dependencies

npm install

Compiling the code

npm run compile

Running

npm run start

About

πŸ“¨ A massive email sender tool.

License:MIT License


Languages

Language:TypeScript 98.0%Language:Shell 2.0%