Discussion Board

Results 1 to 15 of 23

Hybrid View

  1. #1
    Registered User preety.saini's Avatar
    Join Date
    Jun 2012
    Posts
    54
    I tried retrieving emails using following wiki article:

    http://www.developer.nokia.com/Commu...-mail_contents

    It gives correct number of email accounts,but as I try to retrieve mail body,the app crashes on device without generating any panic code.

  2. #2
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,712
    there is always process exit code which you could get for all crash events: http://www.developer.nokia.com/Commu...ded_panic_code

  3. #3
    Registered User preety.saini's Avatar
    Join Date
    Jun 2012
    Posts
    54
    Now I got the reason for app crash: Panic IMCM 10 in following line

    CImEmailMessage* emailMessage = CImEmailMessage::NewLC(*entry);
    emailMessage->GetBodyTextL(emailId,CImEmailMessage::EThisMessageOnly,*richText,*paraFormatLayer,*charFormatLayer);

    which means " aMessageId is not of type KUidMsvMessageEntry"

    How to use it??

  4. #4
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,712
    never used the API really, anyway as the wiki page you have visited, does have full project, you should download it and see how things are handled inside it.

  5. #5
    Registered User preety.saini's Avatar
    Join Date
    Jun 2012
    Posts
    54
    that code also giving same problem. I tried that also

  6. #6
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,712
    Anyway, do check what the emailId is, and make sur eit is message ID for entry.

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
  •  
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