Version: (using KDE KDE 3.0.3) Installed from: Mandrake RPMs OS: Linux When a user clicks "reply-to-all", the recipient list removes addresses that are a subset of the user's address, or which are a superset of the user's address. For example, if my address is myname@localhost, and I am replying to the following addresses: readmyname@localhost name@localhost test@localhost kmail will only reply to test@localhost. It will strip the other two addresses. I suspect the culprit is the following line in kmmessage.cpp: if ((*it).find(myAddr,0,false) != -1) Note that this line shows up in two places.
This happens for me as well. I'm using KMail 1.5.2. If I send a message to eric@ekrosenberg.com and deric@ekrosenberg.com neither address is included in the reply. I think the problem is that the code that tries to remove the senders address from the recipient list that the reply-all is going to is looking for eric@ekrosenberg.com in the recipients list. Since eric@ekrosenberg.com is a substring of deric@ekrosenberg.com both addresses are being removed. I think if the 2 places where the line "if ((*it).find(myAddr,0,false) != -1)" was changed to "if ((*it).find(myAddr,0,false) == 0)" it would work. If I can figure out how to get KMail to compile I'll try to test it out.
I uploaded a patch to bug 51195 that also seems to fix this bug.
Sorry for the bad info in comment #2. The patch that would also fix this bug is attached to bug 59195
*** This bug has been marked as a duplicate of 59195 ***