change Reply-To:
Jon LaBadie
mutter at jgcomp.com
Tue Oct 20 19:12:52 UTC 2020
On Tue, Oct 20, 2020 at 06:51:15PM +0200, Pau wrote:
> thanks a lot! Is there a way to have several email addresses in a
> single hook, or do I have to repeat the hook for every single email
> address?
>
> On Tue, Oct 20, 2020 at 6:25 PM ಚಿರಾಗ್ ನಟರಾಜ್ <mailinglist at chiraag.me> wrote:
> >
> > Hi Pau,
> >
> > You can use a send-hook with something like this:
> >
> > send-hook '~t <insert email address here>' 'my_hdr Reply-To: Alternate Email <alternate.email at domain.tld>'
> >
Something like this is working for me:
set my_ChGrp='^(aa at chdom1\.com|bb at chdom2\.com|cc at chnet\.net)$'
send-hook '~t $my_ChGrp' 'my_hdr Reply-To: Me Me <Me at my.com>'
If they all have the same domain, or one that can be expressed
by a regular expression, something like this might work also:
send-hook '~t ^.*@chdom\.com$' 'my_hdr Reply-To: Me Me <Me at my.com>'
Jon
--
Jon H. LaBadie jon at labadie.us
11226 South Shore Rd. (703) 787-0688 (H)
Reston, VA 20190 (703) 935-6720 (C)
More information about the Mutt-users
mailing list