On Wednesday, 31. January 2001 19:43, Don Sanders wrote: > > The problem is when the connection is lost while downloading a message. > slotResult gets called, calls slotCancel, calls > processRemainingQueuedMessagesAndSaveUidList which calls > processPendingMessages which processes the partially downloaded message= and > appends its uid to uidsOfNextSeenMsgs. This list is saved and the next = time > a connectin is established all these messages (including the partially > downloaded one) are deleted. > > I haven't tested this patch yet though. At least I several times tested how interrupting mail retrieving with the= =20 cancel button works and never revieved a partially downloaded message. It= =20 always worked correctely. However my mails usually don't exceed 5KB per m= ail.=20 Maybe that is the reason, why that didn't happen to me. Ok, I just sent myself a 700 KB message. After downloading 300 KB I=20 interrupted the connection. I didn't get the mail, not even a part of the= =20 mail and on the next attempt KMail downloaded it again. It tried the same with killing the slave after 300 KB. Exactely the same=20 correct behaviour. Then I tried both things again with your patch applied and there was no=20 difference. Also with several message on the server I could see no difference. =46rom the point of view of the code your patch looks correct, but it cou= ld=20 also be, that is has no effect at all. Regards, Michael H=E4ckel _______________________________________________ Kmail Developers mailing list Kmail@master.kde.org http://master.kde.org/mailman/listinfo/kmail