1.0.5 • Published 7 years ago
gm2 v1.0.5
gm2
use gmail to send your mail in terminal
Configure
$ gm2 --config
/* Gmail -> Gmail ex:xxx@gmail.com
* Pass -> password
* Name -> your name when send an email
*/
Installation
$ npm i gm2 -g
Usage
$ gm2 xxxx@outlook.fr cv ./cv-paul.pdf
$ gm2 xxxx@outlook.fr dating "hello, I have the pleasure to dinner with you?"
$ gm2 xxxx@outlook.fr cv ./cv-paul.pdf "hello,I have sended my cv to you"
$ gm2 xxxx@outlook.fr cv ./cv-paul.pdf "<h3>hello,I have sended my cv to you</h3>"
or
$ gm2 --interaction
/* Receiver xxxx@outlook.fr
* Subject cv
* Html(or just text) "no message" or "<h3>no message</h3>"
* Attachments path ./cv-paul.pdf
*/
Notice
IMAP option needs to be active! go to set it before using