equal
deleted
inserted
replaced
108 |
108 |
109 CActiveScheduler::Add(this); |
109 CActiveScheduler::Add(this); |
110 } |
110 } |
111 |
111 |
112 #if (defined SYMBIAN_USER_PROMPT_SERVICE) |
112 #if (defined SYMBIAN_USER_PROMPT_SERVICE) |
113 void CMsgImOutboxSend::StartL(TRequestStatus& aStatus, TThreadId aClientThreadId, TBool aHasCapability) |
113 void CMsgImOutboxSend::StartL(TRequestStatus& aStatus, TThreadId aClientThreadId, TBool aHasCapability, TBool aIsSilent) |
114 { |
114 { |
|
115 iIsSilent = aIsSilent; |
115 SetupStartL(); |
116 SetupStartL(); |
116 |
117 |
117 iState = EStateUserPrompting; |
118 iState = EStateUserPrompting; |
118 iWaiter->AuthoriseAndConnectL(iSettings->SmtpSettings(), aHasCapability, aClientThreadId, iStatus); |
119 iWaiter->AuthoriseAndConnectL(iSettings->SmtpSettings(), aHasCapability, aClientThreadId, iStatus); |
119 SetActive(); |
120 SetActive(); |
121 aStatus = KRequestPending; |
122 aStatus = KRequestPending; |
122 iReport = &aStatus; |
123 iReport = &aStatus; |
123 } |
124 } |
124 #endif |
125 #endif |
125 |
126 |
126 void CMsgImOutboxSend::StartL(TRequestStatus& aStatus) |
127 void CMsgImOutboxSend::StartL(TRequestStatus& aStatus, TBool aIsSilent) |
127 { |
128 { |
|
129 iIsSilent = aIsSilent; |
128 SetupStartL(); |
130 SetupStartL(); |
129 StartConnectingL(); |
131 StartConnectingL(); |
130 |
132 |
131 aStatus = KRequestPending; |
133 aStatus = KRequestPending; |
132 iReport = &aStatus; |
134 iReport = &aStatus; |
162 iSession = NULL; |
164 iSession = NULL; |
163 if (!iSessionManager) |
165 if (!iSessionManager) |
164 { |
166 { |
165 iSessionManager = CSmtpSessionManager::NewL(iMobilityManager, iProgress.ServiceId()); |
167 iSessionManager = CSmtpSessionManager::NewL(iMobilityManager, iProgress.ServiceId()); |
166 } |
168 } |
|
169 iSessionManager->SetSilentConnection(iIsSilent); |
167 iSessionManager->GetSessionL(iServerEntry, *iSettings, iSession, iStatus); |
170 iSessionManager->GetSessionL(iServerEntry, *iSettings, iSession, iStatus); |
168 SetActive(); |
171 SetActive(); |
169 } |
172 } |
170 |
173 |
171 /** |
174 /** |