--- a/email/imap4mtm/imapservermtm/src/cimap4servermtm.cpp Tue Oct 05 13:58:47 2010 +0530
+++ b/email/imap4mtm/imapservermtm/src/cimap4servermtm.cpp Tue Oct 19 11:30:16 2010 +0530
@@ -641,10 +641,19 @@
}
case KIMAP4MTMConnect:
+ case KIMAP4MTMSilentConnect:
{
__LOG_TEXT(KDefaultLog, " - KIMAP4MTMConnect");
- // Completes with KErrServerBusy if already connected, otherwise
- // establishes a connected IMAP session.
+ if(aCommand==KIMAP4MTMSilentConnect)
+ {
+ iImapProtocolController->SetSilentConnection(ETrue);
+ }
+ else
+ {
+ iImapProtocolController->SetSilentConnection(EFalse);
+ }
+ // Completes with KErrServerBusy if already connected, otherwise
+ // establishes a connected IMAP session.
if (iImapProtocolController->Connected())
{
Queue(aStatus);
@@ -665,8 +674,17 @@
}
case KIMAP4MTMConnectAndSynchronise:
+ case KIMAP4MTMSilentConnectAndSynchronise:
{
__LOG_TEXT(KDefaultLog, " - KIMAP4MTMConnectAndSynchronise");
+ if(aCommand==KIMAP4MTMSilentConnectAndSynchronise)
+ {
+ iImapProtocolController->SetSilentConnection(ETrue);
+ }
+ else
+ {
+ iImapProtocolController->SetSilentConnection(EFalse);
+ }
// Completes with KErrServerBusy if already connected, otherwise
// establishes a connected IMAP session.