diff -r ecf6a73a9186 -r 60a8a215b0ec email/pop3andsmtpmtm/smtpservermtm/src/IMSM.CPP --- a/email/pop3andsmtpmtm/smtpservermtm/src/IMSM.CPP Tue Oct 05 13:58:47 2010 +0530 +++ b/email/pop3andsmtpmtm/smtpservermtm/src/IMSM.CPP Tue Oct 19 11:30:16 2010 +0530 @@ -110,8 +110,9 @@ } #if (defined SYMBIAN_USER_PROMPT_SERVICE) -void CMsgImOutboxSend::StartL(TRequestStatus& aStatus, TThreadId aClientThreadId, TBool aHasCapability) +void CMsgImOutboxSend::StartL(TRequestStatus& aStatus, TThreadId aClientThreadId, TBool aHasCapability, TBool aIsSilent) { + iIsSilent = aIsSilent; SetupStartL(); iState = EStateUserPrompting; @@ -123,8 +124,9 @@ } #endif -void CMsgImOutboxSend::StartL(TRequestStatus& aStatus) +void CMsgImOutboxSend::StartL(TRequestStatus& aStatus, TBool aIsSilent) { + iIsSilent = aIsSilent; SetupStartL(); StartConnectingL(); @@ -164,6 +166,7 @@ { iSessionManager = CSmtpSessionManager::NewL(iMobilityManager, iProgress.ServiceId()); } + iSessionManager->SetSilentConnection(iIsSilent); iSessionManager->GetSessionL(iServerEntry, *iSettings, iSession, iStatus); SetActive(); }