×

Discussion Board

Page 2 of 2 FirstFirst 12
Results 16 to 23 of 23
  1. #16
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: Not able to read emails using code

    Note that you should always use oldest platform SDK for the supported platform versions, meaning that if you plan to support 3rd ed FP1, you must compile the version for it with 3rd ed FP1 SDK or older, not FP2 SDK.

  2. #17
    Registered User
    Join Date
    Jun 2012
    Posts
    54

    Re: Not able to read emails using code

    Thanks for reply Yucca. But I developed app using FP2 sdk which is working on my FP1 device(e71) not on FP2 device(e5)

  3. #18
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: Not able to read emails using code

    Quote Originally Posted by preety.saini View Post
    Thanks for reply Yucca. But I developed app using FP2 sdk which is working on my FP1 device(e71) not on FP2 device(e5)
    that would be strange then indeed..

  4. #19
    Registered User
    Join Date
    Jan 2005
    Location
    Italy
    Posts
    639

    Re: Not able to read emails using code

    yes, very strange..... hmmm.... there's an old thread, with code snippet, trying to retrieve imap too, you could give it a try if you haven't found it/done yet:
    http://www.developer.nokia.com/Commu...asStoreL%28%29
    regards
    pg

  5. #20
    Registered User
    Join Date
    Jun 2012
    Posts
    54

    Re: Not able to read emails using code

    I used the same code also, but not working for me

  6. #21
    Registered User
    Join Date
    Jan 2005
    Location
    Italy
    Posts
    639

    Re: Not able to read emails using code

    that's strange, but.. can you manually connect to the imap account and retrieve emails? the only other solution that i can suggest you is to recursively traverse the entire msg store starting from KMsvRootIndexEntryId, retrieve entries, be sure they are the correct type, verify they have store, access the data
    regards
    pg

  7. #22
    Registered User
    Join Date
    Jun 2012
    Posts
    54

    Re: Not able to read emails using code

    I did that. Entries are valid but not having any store associated with them. I checked manually also. I was able to retrieve mails manually

  8. #23
    Registered User
    Join Date
    Jan 2005
    Location
    Italy
    Posts
    639

    Re: Not able to read emails using code

    Well, in IMAP default behaviour (you can change that into mail app settings) is to retrieve headers only, so until you don't manually read the content of your mail messages, they aren't downloaded and no store for them is created; you could try to read a mail message into mail app and then verify again in your code. If you already did that, and associated HasStore() is always giving EFalse, then i have no idea....
    regards
    pg

Similar Threads

  1. Mail for Exchange cannot read body of emails
    By role77 in forum General Messaging
    Replies: 4
    Last Post: 2010-09-08, 09:43
  2. How to read Emails from our application?
    By SymbianTH in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2010-02-24, 09:39
  3. Read Imsi code
    By slackware15 in forum Open C/C++
    Replies: 35
    Last Post: 2009-11-07, 10:49
  4. Public API's to read emails from Mail For Exchange
    By Priju Jacob Paul in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2009-03-20, 06: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
  •  
×