+
+ /*
+ * Only if this is a ReplyAll, copy all recipients into the Cc: field
+ */
+ if ( (!strcasecmp(bstr("replying_mode"), "replyall"))
+ ) {
+ StrBuf *cc_rcpt = NewStrBuf();
+ if (!IsEmptyStr(rcpt)) {
+ StrBufAppendPrintf(cc_rcpt, "%s", rcpt);
+ }
+ if ( (!IsEmptyStr(rcpt)) && (!IsEmptyStr(cccc)) ) {
+ StrBufAppendPrintf(cc_rcpt, ", ");
+ }
+ if (!IsEmptyStr(cccc)) {
+ StrBufAppendPrintf(cc_rcpt, "%s", cccc);
+ }
+ PutBstr(HKEY("cc"), cc_rcpt);
+ }
+