Skip to content

Latest commit

 

History

History
74 lines (51 loc) · 1.04 KB

README.md

File metadata and controls

74 lines (51 loc) · 1.04 KB

📨 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