Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User shivsharad's Avatar
    Join Date
    Sep 2007
    Posts
    21
    hi,
    i am trying to get unread mails from my my mail box,m getting the mail account ,but when trying to get the unread mails through Unread() api ,it shows no unread mails,
    for(TUint i = 0; i != count ; i++)
    {

    rootInboxEntry->SetEntryL(msgList->At( i ) );
    TMsvEntry entry( rootInboxEntry->Entry());
    TBool val =entry.Unread();
    if( entry.Unread() )
    {
    iunreadMsgCount++;
    HBufC* bufferSMS = GetEntryTime(entry);
    CleanupStack::PushL(bufferSMS);
    TMsvId entryId = msgList->At(i);
    iMsgIdArray.AppendL(entryId);

  2. #2
    Regular Contributor mohd kashif's Avatar
    Join Date
    Dec 2007
    Location
    India
    Posts
    155
    Quote Originally Posted by shivsharad View Post
    hi,
    i am trying to get unread mails from my my mail box,m getting the mail account ,but when trying to get the unread mails through Unread() api ,it shows no unread mails,
    for(TUint i = 0; i != count ; i++)
    {

    rootInboxEntry->SetEntryL(msgList->At( i ) );
    TMsvEntry entry( rootInboxEntry->Entry());
    TBool val =entry.Unread();
    if( entry.Unread() )
    {
    iunreadMsgCount++;
    HBufC* bufferSMS = GetEntryTime(entry);
    CleanupStack::PushL(bufferSMS);
    TMsvId entryId = msgList->At(i);
    iMsgIdArray.AppendL(entryId);

    hi change loop like that

    for( TInt i = 0; i < msgList->Count(); i++ )

    and chk what happen ..

    Regards
    Md.kashif

Similar Threads

  1. Replies: 0
    Last Post: 2005-07-27, 11:21
  2. Count for new mails?
    By symnewbie in forum Symbian C++
    Replies: 0
    Last Post: 2005-06-14, 08:47
  3. Problem in deletion of mails in POP3_IMAP4_Email_Example ??
    By lalita in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2005-04-06, 16:34
  4. Replies: 0
    Last Post: 2005-04-06, 16:33
  5. Replies: 0
    Last Post: 2005-03-31, 08:30

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved