Categories: SMS | Messaging | Symbian C++ | Code Examples | How To
This page was last modified 12:34, 26 November 2007.
How to get the count of unread messages from Inbox
From Forum Nokia Wiki
CMsvEntry* entry = CMsvEntry::NewL(*iMsvSession, KMsvGlobalInBoxIndexEntryId, TMsvSelectionOrdering()); CleanupStack::PushL(entry); CMsvEntrySelection* entries = entry->ChildrenL(); CleanupStack::PushL(entries); TInt nUnreadCount; for(TInt i=0;i<entries->Count();i++) { entry->SetEntryL(entries->At(i)); TMsvEntry msvEntry(entry->Entry()); if( msvEntry.Unread()) nUnreadCount++; } CleanupStack::PopAndDestroy(2);
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to Fetch only unread mails for the first time after installing the appln? | symnewbie | General Symbian C++ | 0 | 2005-07-27 11:21 |
| Are there data for the inbox messages? | symbian David | General Symbian C++ | 2 | 2007-05-20 05:01 |
| Read sender phone number from inbox | keren.hoc@gmail.com | Porting Symbian C++ to S60 | 8 | 2008-04-27 18:52 |
| Clear NM30 Memory | filbrat | Nokia M2M | 1 | 2003-03-21 10:50 |
| Nokia 6100-storing messages on SIM. Please help | Alla.Alexuk | General Messaging | 1 | 2006-10-10 11:06 |
