Uwe Brauer writes: > Let’s assume I write an email to: > > - Arthur, > - add John and Richard in CC, and > - also include Robert in BCC. > > This is done to ensure that Arthur does not know Robert received a > copy of the email. > > Now, if John replies and uses the "Reply to all" function, everything > is fine. However, if Robert does the same because he wants to reply to > John and Richard, Arthur will also receive a copy—revealing that > Robert was originally BCC'd. > > Robert can only avoid this by using a function (before replying to > all) that checks whether the sender was included in the original > email’s *To* or *CC* fields. > > Here is a function that performs this check, but it only works in the > *article buffer*.
Have you ruled out using the message-prune-recipient-rules and message-dont-reply-to-names in (info "(message) Wide Reply")? They may be enough for you (I haven't read your code). --