2016-05-12 16:10:16 +02:00
|
|
|
---
|
|
|
|
init.h | 7 +++++++
|
|
|
|
mutt.h | 1 +
|
|
|
|
send.c | 8 ++++++++
|
|
|
|
3 files changed, 16 insertions(+)
|
|
|
|
|
|
|
|
--- init.h
|
2016-05-31 14:38:26 +02:00
|
|
|
+++ init.h 2016-05-31 11:12:26.410983323 +0000
|
|
|
|
@@ -2860,6 +2860,13 @@ struct option_t MuttVars[] = {
|
2007-01-16 00:26:03 +01:00
|
|
|
** .pp
|
2009-07-03 16:33:22 +02:00
|
|
|
** Also see the $$force_name variable.
|
2007-01-16 00:26:03 +01:00
|
|
|
*/
|
|
|
|
+ { "send_group_reply_to", DT_BOOL, R_NONE, OPTSENDGROUPREPLYTO, 0 },
|
|
|
|
+ /*
|
|
|
|
+ ** .pp
|
|
|
|
+ ** This variable controls how group replies are done.
|
|
|
|
+ ** When set, all recepients listet in "To:" are set in the
|
|
|
|
+ ** "To:" header again, else in the "CC", which is the default.
|
|
|
|
+ */
|
|
|
|
{ "score", DT_BOOL, R_NONE, OPTSCORE, 1 },
|
|
|
|
/*
|
|
|
|
** .pp
|
2016-05-12 16:10:16 +02:00
|
|
|
--- mutt.h
|
2016-05-31 14:38:26 +02:00
|
|
|
+++ mutt.h 2016-05-31 11:12:26.410983323 +0000
|
|
|
|
@@ -480,6 +480,7 @@ enum
|
2007-01-16 00:26:03 +01:00
|
|
|
OPTSAVEADDRESS,
|
|
|
|
OPTSAVEEMPTY,
|
|
|
|
OPTSAVENAME,
|
|
|
|
+ OPTSENDGROUPREPLYTO,
|
|
|
|
OPTSCORE,
|
2016-05-12 16:10:16 +02:00
|
|
|
#ifdef USE_SIDEBAR
|
|
|
|
OPTSIDEBAR,
|
|
|
|
--- send.c
|
2016-05-31 14:38:26 +02:00
|
|
|
+++ send.c 2016-05-31 11:12:26.414983246 +0000
|
|
|
|
@@ -624,8 +624,16 @@ int mutt_fetch_recips (ENVELOPE *out, EN
|
2007-01-16 00:26:03 +01:00
|
|
|
if ((flags & SENDGROUPREPLY) && (!in->mail_followup_to || hmfupto != M_YES))
|
|
|
|
{
|
|
|
|
/* if(!mutt_addr_is_user(in->to)) */
|
|
|
|
+ if (option (OPTSENDGROUPREPLYTO))
|
|
|
|
+ {
|
2009-07-03 16:33:22 +02:00
|
|
|
+ rfc822_append (&out->to, in->to, 0);
|
|
|
|
+ rfc822_append (&out->cc, in->cc, 1);
|
|
|
|
+ }
|
|
|
|
+ else
|
2007-01-16 00:26:03 +01:00
|
|
|
+ {
|
2009-07-03 16:33:22 +02:00
|
|
|
rfc822_append (&out->cc, in->to, 1);
|
|
|
|
rfc822_append (&out->cc, in->cc, 1);
|
2007-01-16 00:26:03 +01:00
|
|
|
+ }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return 0;
|