--- a/email/pop3andsmtpmtm/popservermtm/src/POPSMTM.CPP Wed Sep 01 12:31:54 2010 +0100
+++ b/email/pop3andsmtpmtm/popservermtm/src/POPSMTM.CPP Tue Sep 14 21:11:56 2010 +0300
@@ -1432,6 +1432,14 @@
{
CommandComplete( eCode );
}
+ else if(iState.iLastCurrentOperation == EPopConnectedAndIdle && iState.iCurrentOperation == EPopDisconnected && eCode != KErrNone)
+ {
+ // Some email servers doesn’t wait for QUIT command, in such cases need to close RConnection
+ delete iSessionManager;
+ iSessionManager = NULL;
+
+ iPopProgress.iErrorCode = eCode;
+ }
else
{
iPopProgress.iErrorCode = eCode;