90 { |
90 { |
91 // These should be clear |
91 // These should be clear |
92 case EFSMBoxCapaCanBeDeleted: |
92 case EFSMBoxCapaCanBeDeleted: |
93 case EFSMBoxCapaSupportsSaveToDrafts: |
93 case EFSMBoxCapaSupportsSaveToDrafts: |
94 case EFSMBoxCapaMeetingRequestRespond: |
94 case EFSMBoxCapaMeetingRequestRespond: |
95 case EFSMboxCapaSupportsAttahmentsInMR: |
|
96 case EFSMBoxCapaMeetingRequestCreate: |
95 case EFSMBoxCapaMeetingRequestCreate: |
97 case EFSMBoxCapaCanUpdateMeetingRequest: |
96 case EFSMBoxCapaCanUpdateMeetingRequest: |
98 case EFSMBoxCapaRemoveFromCalendar: |
|
99 { |
97 { |
100 result = ETrue; |
98 result = ETrue; |
101 break; |
99 break; |
102 } |
100 } |
103 // These are positively not supported |
101 // These are positively not supported |
161 accounts->GetPopAccountL( service , popAccountId ); |
159 accounts->GetPopAccountL( service , popAccountId ); |
162 accounts->LoadPopSettingsL( popAccountId, *settings ); |
160 accounts->LoadPopSettingsL( popAccountId, *settings ); |
163 TInt populationLimit( settings->PopulationLimit() ); |
161 TInt populationLimit( settings->PopulationLimit() ); |
164 CleanupStack::PopAndDestroy( 2, settings ); // >>> settings, accounts |
162 CleanupStack::PopAndDestroy( 2, settings ); // >>> settings, accounts |
165 TBool forcePopulate( EFalse ); |
163 TBool forcePopulate( EFalse ); |
|
164 /* |
166 if( populationLimit != KIpsSetDataHeadersOnly ) |
165 if( populationLimit != KIpsSetDataHeadersOnly ) |
167 { |
166 { |
168 forcePopulate = ETrue; |
167 forcePopulate = ETrue; |
169 } |
168 }*/ |
170 |
169 |
171 CIpsPlgBaseOperation* op = CIpsPlgPop3ConnectOp::NewL( |
170 CIpsPlgBaseOperation* op = CIpsPlgPop3ConnectOp::NewL( |
172 *iSession, |
171 *iSession, |
173 watcher->iStatus, |
172 watcher->iStatus, |
174 service, |
173 service, |
182 watcher->SetOperation( op ); |
181 watcher->SetOperation( op ); |
183 CleanupStack::PopAndDestroy( sel ); // >>> sel |
182 CleanupStack::PopAndDestroy( sel ); // >>> sel |
184 |
183 |
185 iOperations.AppendL( watcher ); |
184 iOperations.AppendL( watcher ); |
186 CleanupStack::Pop( watcher ); // >> watcher |
185 CleanupStack::Pop( watcher ); // >> watcher |
187 |
186 |
188 // send part |
187 //<qmail> |
189 EmptyOutboxL( aMailBoxId ); |
188 // send part of refresh |
|
189 //EmptyOutboxL( aMailBoxId ); // not used in qmail yet |
|
190 //</qmail> |
190 } |
191 } |
191 |
192 |
192 // --------------------------------------------------------------------------- |
193 // --------------------------------------------------------------------------- |
193 // CIpsPlgPop3Plugin::ListFoldersL |
194 // CIpsPlgPop3Plugin::ListFoldersL |
194 // --------------------------------------------------------------------------- |
195 // --------------------------------------------------------------------------- |
195 // |
196 // |
196 void CIpsPlgPop3Plugin::ListFoldersL( |
197 void CIpsPlgPop3Plugin::ListFoldersL( |
197 const TFSMailMsgId& aMailBoxId, |
198 const TFSMailMsgId& aMailBoxId, |
198 const TFSMailMsgId& aFolderId, |
199 const TFSMailMsgId& /*aFolderId*/, |
199 RPointerArray<CFSMailFolder>& aFolderList) |
200 RPointerArray<CFSMailFolder>& aFolderList) |
200 { |
201 { |
201 FUNC_LOG; |
202 FUNC_LOG; |
202 // Pop3 can return only folders on the root level, so folders are not |
203 // Pop3 returns always the root level, so ignore folder id even |
203 // listed when the given folder ID is not null ID. |
204 // it is given. |
204 if ( aFolderId.IsNullId() ) |
205 ListFoldersL( aMailBoxId, aFolderList ); |
205 { |
206 } |
206 ListFoldersL( aMailBoxId, aFolderList ); |
|
207 } |
|
208 } |
|
209 |
207 |
210 // --------------------------------------------------------------------------- |
208 // --------------------------------------------------------------------------- |
211 // CIpsPlgPop3Plugin::ListFoldersL |
209 // CIpsPlgPop3Plugin::ListFoldersL |
212 // --------------------------------------------------------------------------- |
210 // --------------------------------------------------------------------------- |
213 // |
211 // |