Re: Sending all mail in IMAP folder from command line

2020-11-15 Thread Gregory Heytings
I have draft messages appearing in an imap folder. I would like to write a script that reads a message (or all messages) from that folder and sends it as it is, then moving the message to imap Sent folder. It seems something like mutt -H would do the job, just can’t figure out how to get i

Re: Managing identities without suspending Mutt

2020-11-12 Thread Gregory Heytings
Thank you for your answer! But this does not answer my question: I know that it is possible to manage multiple identities that way, and I was trying to find something more flexible. You could put the post-the-script stuff in the script output. macro index A ':`shell-script-emitting-mutt

Re: Always CC specific messages to some people (send-hook and my_hdr)

2020-11-12 Thread Gregory Heytings
When emailing to someone with mutt, I would like to have my messages automatically CC'd to someone. Typically, we are a team of academics working with a student, and I would like my exchanges with the student to be sent to others. Mutt aliases seems to be on a "per field" basis. So I coul

Re: Managing identities without suspending Mutt

2020-11-11 Thread Gregory Heytings
Hi Ken, Thank you for your answer! But this does not answer my question: I know that it is possible to manage multiple identities that way, and I was trying to find something more flexible. Gregory

Managing identities without suspending Mutt

2020-11-10 Thread Gregory Heytings
Hi list, Is there a trick to execute a macro after a shell-escape which asks for user input? I currently have: macro index A 'shell-script ' macro index B 'source ~/.mutt/mutt-script' shell-script writes mutt-script, and I'd like to do 'B' when 'A' returns, without having to press 'B'.