change Reply-To:
Pau
vim.unix at gmail.com
Wed Oct 21 10:29:40 UTC 2020
thanks to you all! This is what I came up with... Since the only
problem I have is with China addresses, I have added this line
send-hook '~t ^.*\.cn$' 'my_hdr Reply-To: Me Surname <xxxxx at xxxx.xyz>'
and it works fine!
thanks again,
Pau
On Tue, Oct 20, 2020 at 9:13 PM Jon LaBadie <mutter at jgcomp.com> wrote:
>
> 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