https://github.com/aboqasem/mailer
Send emails.
https://github.com/aboqasem/mailer
Last synced: 2 months ago
JSON representation
Send emails.
- Host: GitHub
- URL: https://github.com/aboqasem/mailer
- Owner: aboqasem
- Created: 2021-03-03T15:35:17.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-03T17:54:13.000Z (about 4 years ago)
- Last Synced: 2025-01-29T18:47:12.799Z (4 months ago)
- Language: TypeScript
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mailer
Send emails.
## Usage
- Copy `.env.example` to `.env` and modify it:
- `NAME`: your name.
- `EMAIL`: your email.
- `PASS`: create an app password from your account to avoid 2FA, [for Gmail](https://support.google.com/accounts/answer/185833?hl=en).
- `SUBJ`: email subject.
- `ATTACHMENTS`: optional paths to attachments, separated by commas. For e.g. `/Path/to/a1,../path/to/a2`.- Copy `receivers.example.txt` to `receivers.txt` and modify it:
- Receiver emails separated bby newline.
- Copy `email.example.html` to `email.html` and modify it:
- The email body.
- Run `npm i` then `npm start`.