On Fri, Apr 15, 2016 at 02:40:27PM -0400, Jon LaBadie wrote: > I'm trying to set up a way to send periodic notices > to a list of people with the restriction that the > recipients email addresses not be generally visible, > thus they would be listed in the Bcc: header. > > My approach is to create an email alias "tf...@jgcomp.com" > and a mutt alias "tfc" to be "Tuesday Fun Club - Community > Center" <tf...@jgcomp.com>. This works fine. > > 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. > > I'm not sure if the approach is bad or something about my > syntax. Any guidance would be appreciated?
Well it doesn't solve the problem, but reading the fine manual explains why my approach doesn't work. From section 19: 19. Change Settings Based Upon Message Recipients ... Note ... Also note that my_hdr commands which modify recipient headers, or the message's subject, don't have any effect on the current message when executed from a send-hook. 20. Change Settings Before Formatting a Message So it appears you can't change the recipients from within a send-hook. I compose in vi, so I'll just append a group alias to the Bcc line. I was simply trying to automate that step. Thanks, jl -- Jon H. LaBadie j...@jgcomp.com 11226 South Shore Rd. (703) 787-0688 (H) Reston, VA 20190 (703) 935-6720 (C)