1. Typical Email Structure of a HTML email

2. Timing of the corresponding "text/plain" content being loaded
When the email first comes to the device, if you want to access the content of the email, you need to use Transport.more() to request more information from the server. I notice that for the peer-part of "text/html", there is a "text/plain" part comes with html mimebodypart. However, when you use Transport.more(BodyPart, true) to get the information in the "text/plain" mimebodypart, it will take approximately 5 seconds to load the content to the bodypart. Therefore, in your program, you need to wait longer for the content fetching.
3. Always deep check the content
Moreover, you need to double check the content when there is some content in the bodypart to make sure the content is not just spaces.
Reference:
1. How to- Access HTML email messages
http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800698/How_To_-_Access_HTML_email_messages.html?nodeid=1443037&vernum=0
2. One useful thread in a BB Forum
http://supportforums.
Hi Catherine,
ReplyDeleteReally amazing blog post. I saw and read your blog,This site is useful to Blackberry Developers. I know that it will help me in my own stuffs. I think it may be relevant.
-
Blackberry development