Skip to content

A Mail-Sender using Node.js, Nodemailer, Zod and Typescript

Notifications You must be signed in to change notification settings

rafaelcitario/mail-sender

Repository files navigation

Mail Sender

What's the Mail Sender?

Mail Sender is a script built in Node.js, TypeScript, Nodemailer, and Zod. These are all the technologies used in this project.

The Mail Sender sends multiple emails quickly and easily.

How to use this script?

Clone this repository:

git clone [email protected]:rafaelcitario/mail-sender.git 

Create a file called '.env' and fill it with the necessary information found inside the '.env.example' file.

user=YourEmail
pass=GoogleSecretPasswordApps

To create an App password, access this link

Captura-de-tela-2024-04-27-143740

After you've named your app, copy the Secret Password and click on the blue button.

Paste the secret password as pass=****** in .env without spaces between characters.

Put some emails in the mails.txt file.

Write some content in the content.txt file; this is the content you send in the email.

Run:

npm install

To start the app:

npm run start:dev

This will automatically send emails.

video demonstracao

RoadMap

  • Config SMTP - Default: (Gmail)
  • Send Email
  • Send Multiples Emails
  • Read Files with the content to send
  • Implement fast-changing subject mails
  • Acept others SMTPS like outlook, Proton, etc...
  • Refactory to System API

About

A Mail-Sender using Node.js, Nodemailer, Zod and Typescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published