Ondrej Zara wrote:
This is actually the case. In program/steps/mail/compose.inc on line 191 recipients that do match one of the user's identities are skipped.
Maybe you can debug this because it works for me.
I found the following code near line 191:
// add recipent of original message if reply to all else if ($header=='cc' && !empty($MESSAGE->reply_all)) { if ($v = $MESSAGE->headers->to) $fvalue .= $v;
if ($v = $MESSAGE->headers->cc) $fvalue .= (!empty($fvalue) ? ', ' : '') . $v; }
First, the assignments in conditions are somewhat mystical to me (why?). Second, this clearly adds original recipient to a 'cc' part of new message. So, should I patch this only for myself or is this a newly found bug?
Thomas Bruederli, 08.12.16 17:59:
Right but this list ($fvalue) is then checked later on.
However, it looks like this "bug" was introduced in http://trac.roundcube.net/changeset/1782 when attempting to fix http://trac.roundcube.net/ticket/1485337
I guess we could easily fix this by allowing "reply to myself" only in the to-field and not in CC where the reply-all problem occurs.
~Thomas
Did I get it right, you'd block a feature in order to fix a bug? IMHO this would lead to inconsistent behaviour. If one would like to CC itself won't get the message and wouldn't know why...