On 16.04.16 14:59, Jon LaBadie wrote:
> > Next step was to set up a send-hook on the tfccc email addr.
> > This would setup "my_hdr Bcc:" to be the list of recipients,
> > or later perhaps a mutt group alias for the list.  I've done
> > similar settings before, but not for the Bcc: header.
> > 
> > This step doesn't work.  Either nothing gets added or the
> > list gets added to the To: header.

...

> So it appears you can't change the recipients from within a send-hook.

Nor with a reply-hook or message-hook, AFAICT.

> I compose in vi, so I'll just append a group alias to the Bcc line.
> I was simply trying to automate that step.

A file, e.g. drafts/tfccc, could be a template, including a long Bcc, a
default Subject, default body, and any action points open from the last
session. (OK, getting carried away here, but I've found that useful for
meetings.)

With edit_headers set, a ":r drafts/tfccc"in vi/vim will place the whole
box and dice more cleanly if invoked in a macro which deletes the
default headers first.

The greatest risk with that much automation is forgetting to update the
meeting date.

Another option is an autocommand which defines a key mapping which
inserts the Bcc:, but only when editing a mutt tmpfile. (Lets you use
the key in other ways outside mutt edits.)

Erik

Reply via email to