https://github.com/stringmanolo/email
Manage emails (send, read, delete)
https://github.com/stringmanolo/email
Last synced: 10 months ago
JSON representation
Manage emails (send, read, delete)
- Host: GitHub
- URL: https://github.com/stringmanolo/email
- Owner: StringManolo
- Created: 2021-06-03T16:12:39.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-03T16:30:11.000Z (over 4 years ago)
- Last Synced: 2025-02-07T17:45:03.203Z (12 months ago)
- Language: JavaScript
- Size: 630 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
##### Create Slurp mail
```bash
node mail.mjs mail.create --new-mail 1 --api $(cat api.txt)
```
##### Send mail from gmail (or other provider) account to Slurp mail
```bash
node mail.mjs mail.send --user strmanolo@gmail.com --password '**********' --to dce9e7d6-ce6b-4b59-a6c8-2660bf4ca2b1@mailslurp.com --subject test --message-file ./myMessage.txt
```
##### Send mail from slurp to gmail (or other provider)
```bash
node mail.mjs mail.send --to strmanolo@gmail.com --message Hola --api $(cat api.txt) --use-slurpt
```
> Gmail will probably ban slurp service due to other clients spam actions
##### Read Slurp Email
```bash
node mail.mjs mail.read --api $(cat api.txt)
```