equal
deleted
inserted
replaced
576 CEmailAccounts* accounts = CEmailAccounts::NewLC(); |
576 CEmailAccounts* accounts = CEmailAccounts::NewLC(); |
577 TImapAccount imapAcc; |
577 TImapAccount imapAcc; |
578 accounts->GetImapAccountL( aMailboxId.Id(), imapAcc ); |
578 accounts->GetImapAccountL( aMailboxId.Id(), imapAcc ); |
579 accounts->LoadImapSettingsL( imapAcc, *settings ); |
579 accounts->LoadImapSettingsL( imapAcc, *settings ); |
580 TImImap4GetPartialMailInfo info; |
580 TImImap4GetPartialMailInfo info; |
581 // <qmail> |
581 // <qmail> Get TImImap4GetPartialMailInfo based on settings |
582 info.iPartialMailOptions = ENoSizeLimits; |
582 CIpsPlgImap4ConnectOp::ConstructImapPartialFetchInfo( info, *settings ); |
583 //CIpsSetDataApi::ConstructImapPartialFetchInfo( info, *settings ); |
|
584 CleanupStack::PopAndDestroy( 2, settings ); |
583 CleanupStack::PopAndDestroy( 2, settings ); |
585 /* |
584 |
586 if ( info.iTotalSizeLimit == KIpsSetDataHeadersOnly ) |
585 if ( info.iTotalSizeLimit == KIpsSetDataHeadersOnly ) |
587 { |
586 { |
588 return; |
587 return; |
589 }*/ |
588 } |
590 // </qmail> |
589 // </qmail> |
591 |
590 |
592 TPckgBuf<TImImap4GetPartialMailInfo> package(info); |
591 TPckgBuf<TImImap4GetPartialMailInfo> package(info); |
593 |
592 |
594 CIpsPlgSingleOpWatcher* watcher = CIpsPlgSingleOpWatcher::NewL(*this); |
593 CIpsPlgSingleOpWatcher* watcher = CIpsPlgSingleOpWatcher::NewL(*this); |