conditional automatic cc header?
Jens John
lists at 2ion.de
Wed Apr 1 10:31:21 UTC 2020
On Wed, 1 Apr 2020, at 06:22, raf wrote:
> e.g. Add a CC header to fred at work.com whenever
> sending/replying/forwarding from me at work.com unless the
> email is already going to fred at work.com.
I think a combination of hooks or only a send2-hook could be used.
How about something along these lines (not tested):
send2-hook "~f me at work.com !(~C fred at work.com)" "my_hdr cc: fred at work.com"
I do not know if my_hdr would respect headers that are already there. For example, if you set a header using the editor CCing a few people, Fred should only be added.
More information about the Mutt-users
mailing list