* Julius Hamilton <julkh...@gmail.com> [2021-07-07 20:27]: > Thanks. > There is a lot of good stuff here to look into. > I think I will try with grepmail first. > I was wondering what the simplest way to send an email might be - the > mentioned "mail" unix utility, perhaps?
Mutt is the way. Use whatever you have available. If you have sendmail, you can echo email message and use sendmail. You can connect to SMTP server and send email from command line by using raw connection commands. Description : Swiss Army Knife SMTP; Command line SMTP testing, including TLS and AUTH URL : https://jetmore.org/john/code/swaks/ I am using GNU Mailutils' program `mail' so often, and I send emails by using Emacs Lisp library and Common Lisp library for `mail': Emacs Lisp: rcd-mail.el package as bindings to GNU Mailutils "mail" program https://hyperscope.link/3/8/3/0/3/rcd-mail-el-GNU-Mailutils-mail-program.html I have tried using mutt as batch in the same manner, I could maybe rewrite it for mutt. Mutt does some things in batch mode better than `mail' maybe some features are missing. -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/