by heinrichhartman · 3y ago · 0 comments
sendmail user@example.com < email.txt
mail -s "Test Subject" user@example.com < body.txt
What keeps me from actually using this, is the lack of Address Book, as I don't memorize email addresses from all my friends and colleagues. Any suggestions on how to integrate my Gmail Address book into a command line workflow?[1] https://stackoverflow.com/questions/57410259/how-to-send-an-...
So if you had aliased "user@example.com" to "bob", you could do:
mutt -s "Test Subject" bob < body.txt
I do not know of a way to automatically generate a mutt alias file from a gmail address book.[1] Mutt refers to its address book as "aliases".
`pop --to $(fzf contacts.txt)`