Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eze-kiel/gmail-cli
Send mails via smtp.gmail.com with a simple command-line interface
https://github.com/eze-kiel/gmail-cli
cli gmail mail smtp
Last synced: 4 days ago
JSON representation
Send mails via smtp.gmail.com with a simple command-line interface
- Host: GitHub
- URL: https://github.com/eze-kiel/gmail-cli
- Owner: eze-kiel
- Created: 2020-03-19T10:18:38.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-03-20T10:01:12.000Z (over 4 years ago)
- Last Synced: 2023-03-04T17:45:00.116Z (over 1 year ago)
- Topics: cli, gmail, mail, smtp
- Language: Go
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GMail CLI
![Licence](https://img.shields.io/badge/License-GPL-brightgreen)
Send mails with your GMail account with a simple command-line interface
## Description
Typical usage :`./gmail-cli -t [email protected] -f [email protected] -s subject -m 'sent thanks to a CLI!' -p yourGMailpassword `
Flags :
```
-f Sender of the mail (also your username used to connect to your GMail account)
-m The content of your message
-p The password of your GMail account
-s The subject of the mail
-t The recipient of your mail
```Note that your password and username can be declared in environnement variables, since I'm using [namsral's flag package](https://github.com/namsral/flag).
You also need to enable the access to your account by less secure apps [here](https://myaccount.google.com/lesssecureapps).
## AuthorWritten by ezekiel.
## Copyright
License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it.