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.
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
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.
- 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