help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reply-To -> CC?


From: Emanuel Berg
Subject: Re: Reply-To -> CC?
Date: Sun, 20 Dec 2020 05:34:07 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Pankaj Jangid wrote:

> This is possible with ‘Posting Styles’. Something like this,
>
>              (message-to-A-p        ;; A function predicate 
>               (CC "B <b@cc.org>"))

Perhaps, or something like this is the/a message send hook:

(when (string= (message-field-value "To") "Joe Hacker <joe@hacker.com>")
  (message-goto-cc)
  (insert "Jane Hacker <jane@hacker.com>") )

or just use the ~/.mailrc file and define an alias for them both

alias jane "Jane Hacker <jane@hacker.com>"
alias joe  "Joe Hacker <joe@hacker.com>"
alias hackers jane joe

but I got the impression the OP wanted a header setting to
instruct another program what to do, and to do that, if
possible, one perhaps rather should digest some RFCs and see
what standards are proposed (and implemented/reinforced) ...

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]