email/pop3andsmtpmtm/smtpservermtm/src/IMSM.CPP
changeset 76 60a8a215b0ec
parent 40 224522e33db9
--- 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();
 	}