email/pop3andsmtpmtm/smtpservermtm/src/SMTS.CPP
changeset 76 60a8a215b0ec
parent 0 72b543305e3a
--- a/email/pop3andsmtpmtm/smtpservermtm/src/SMTS.CPP	Tue Oct 05 13:58:47 2010 +0530
+++ b/email/pop3andsmtpmtm/smtpservermtm/src/SMTS.CPP	Tue Oct 19 11:30:16 2010 +0530
@@ -103,9 +103,9 @@
 	iOutboxSend = CMsgImOutboxSend::NewL(*iSendSelection,*iServerEntry,iServiceId);
 
 #if (defined SYMBIAN_USER_PROMPT_SERVICE)
-	iOutboxSend->StartL(iStatus, iClientThreadId, iHasCapability);
+	iOutboxSend->StartL(iStatus, iClientThreadId, iHasCapability, iIsSilent);
 #else
-	iOutboxSend->StartL(iStatus);
+	iOutboxSend->StartL(iStatus, iIsSilent);
 #endif
 	
 	SetActive();
@@ -197,6 +197,15 @@
             error = KErrDisconnected;    
         break;
     case KSMTPMTMSendOnNextConnection:
+    case KSMTPMTMSilentlySendOnNextConnection:
+        if(aCommand == KSMTPMTMSilentlySendOnNextConnection)
+            {
+            iIsSilent = ETrue;
+            }
+        else
+            {
+            iIsSilent = EFalse;
+            }
 		CopyFromLocalL(aSelection, aSelection.At(0), aStatus);
 		return;
     default: