9 May 2012 15:29
New toascc option
No regressions yet.
I know the name is sick.
Add *toascc* option..
By default replying to a mail combines From: and To: and leaves
Cc: untouched. RFC 5322 however states:
If a reply is sent to a message that has destination fields,
it is often desirable to send a copy of the reply to all of
the recipients of the message, in addition to the author.
When such a reply is formed, addresses in the "To:" and "Cc:"
fields of the original message MAY appear in the "Cc:" field
of the reply, since these are normally secondary recipients of
the reply.
So this option can be used to toggle the default behaviour
accordingly, causing the reply to go To: the sender only and
moving and appending all recipients that were in To: to Cc:.
diff --git a/cmd3.c b/cmd3.c
index cb19e2b..c713952 100644
--- a/cmd3.c
+++ b/cmd3.c
<at> <at> -345,7 +345,7 <at> <at> respond_internal(int *msgvec, int recipient_record)
rcv = nameof(mp, 1);
if (rcv != NULL)
np = sextract(rcv, GTO|gf);
- if ((cp = hfield("to", mp)) != NULL)
+ if (! value("toascc") && (cp = hfield("to", mp)) != NULL)
(Continue reading)
RSS Feed