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.
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.
there is always process exit code which you could get for all crash events: http://www.developer.nokia.com/Commu...ded_panic_code
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??
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.
Anyway, do check what the emailId is, and make sur eit is message ID for entry.