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.