by Dejital · 14y ago · 0 comments
echo "Hello World!" | mutt -s "Test E-mail" -a "file.txt" whomever@wherever.com
Therefore, I now use `mutt` exclusively for sending mail and using Gmail.com for reading and searching mail.I use Thunderbird + Muttator for reading from my laptop and mutt through SSH when reading from e.g. work. I can even read it from my Android phone and tablet.
mbsync does not watch or poll for changes, but you can run mbsync in a loop from your shell. Or, if you are running Linux on the mail server and client and use Maildirs, you can run mbsync from mswatch (http://mswatch.sourceforge.net/). (Disclaimer: I'm the author of mswatch.)