2 ms·
If you prefer an interactive (curses-based) terminal application take a look http://www.mutt.org http://www.mutt.org . Mutt can easily be set up to fetch mails
by fphammerle 9y ago
If you prefer an interactive (curses-based) terminal application take a look http://www.mutt.org http://www.mutt.org .
Mutt can easily be set up to fetch mails from gmail via smtp.
set from='me@gmail.com'
set imap_user='me@gmail.com'
set folder=imaps://imap.gmail.com/
set smtp_url=smtp://$from@smtp.gmail.com:587
Mutt can send mails both interactively and non-interactively.
echo non-interactive | mutt you@gmail.com -c cc@gmail.com -s 'greeting'