--- a/messagingappbase/mcesettings/src/MceSettingsEmailSel.cpp Wed Mar 31 21:25:02 2010 +0300
+++ b/messagingappbase/mcesettings/src/MceSettingsEmailSel.cpp Wed Apr 14 15:53:21 2010 +0300
@@ -730,7 +730,8 @@
// services.
entryUid.iUid = tentry2.Id();
//If cmail box add to the hash table and cmaillist
- if(tentry2.iMtm.iUid == KUidMsgTypeFsMtmVal )
+ if(tentry2.iMtm.iUid == KUidMsgTypeFsMtmVal
+ && timeItems != NULL && cmaillist != NULL)
{
TTimeIntervalMicroSeconds difference = timeNow.MicroSecondsFrom( tentry2.iDate.Int64() );
TInt ret = iCmailBoxes->Insert(difference.Int64() , cc );
@@ -738,7 +739,7 @@
cmaillist->AppendL(tentry2.iDetails);
}
//Add Non Cmail
- else
+ else if( tentry2.iMtm.iUid != KSenduiMtmImap4UidValue && tentry2.iMtm.iUid != KSenduiMtmSmtpUidValue && tentry2.iMtm.iUid != KSenduiMtmPop3UidValue)
{
aListItemUids.AppendL( entryUid );
aListItems.AppendL( tentry2.iDetails );