email/pop3andsmtpmtm/smtpservermtm/src/SMTS.CPP
changeset 76 60a8a215b0ec
parent 0 72b543305e3a
equal deleted inserted replaced
73:ecf6a73a9186 76:60a8a215b0ec
   101 	delete iOutboxSend;
   101 	delete iOutboxSend;
   102 	iOutboxSend=NULL;
   102 	iOutboxSend=NULL;
   103 	iOutboxSend = CMsgImOutboxSend::NewL(*iSendSelection,*iServerEntry,iServiceId);
   103 	iOutboxSend = CMsgImOutboxSend::NewL(*iSendSelection,*iServerEntry,iServiceId);
   104 
   104 
   105 #if (defined SYMBIAN_USER_PROMPT_SERVICE)
   105 #if (defined SYMBIAN_USER_PROMPT_SERVICE)
   106 	iOutboxSend->StartL(iStatus, iClientThreadId, iHasCapability);
   106 	iOutboxSend->StartL(iStatus, iClientThreadId, iHasCapability, iIsSilent);
   107 #else
   107 #else
   108 	iOutboxSend->StartL(iStatus);
   108 	iOutboxSend->StartL(iStatus, iIsSilent);
   109 #endif
   109 #endif
   110 	
   110 	
   111 	SetActive();
   111 	SetActive();
   112 	aStatus = KRequestPending;
   112 	aStatus = KRequestPending;
   113 	iReport = &aStatus;
   113 	iReport = &aStatus;
   195 			iOutboxSend->SessionIsConnected();
   195 			iOutboxSend->SessionIsConnected();
   196 		else 
   196 		else 
   197             error = KErrDisconnected;    
   197             error = KErrDisconnected;    
   198         break;
   198         break;
   199     case KSMTPMTMSendOnNextConnection:
   199     case KSMTPMTMSendOnNextConnection:
       
   200     case KSMTPMTMSilentlySendOnNextConnection:
       
   201         if(aCommand == KSMTPMTMSilentlySendOnNextConnection)
       
   202             {
       
   203             iIsSilent = ETrue;
       
   204             }
       
   205         else
       
   206             {
       
   207             iIsSilent = EFalse;
       
   208             }
   200 		CopyFromLocalL(aSelection, aSelection.At(0), aStatus);
   209 		CopyFromLocalL(aSelection, aSelection.At(0), aStatus);
   201 		return;
   210 		return;
   202     default:
   211     default:
   203         error = KErrNotSupported;
   212         error = KErrNotSupported;
   204         break;
   213         break;