Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET Objects

 AfterLogic Forum : MailBee.NET Objects
Subject Topic: Multiple plain text parts Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
mgm
Newbie
Newbie


Joined: 13 June 2008
Online Status: Offline
Posts: 6
Posted: 29 June 2010 at 5:41am | IP Logged Quote mgm

I am trying out the Mail Mime capabilities and I have a mail message that has this layout of parts:

multipart/mixed
text/plain (shown by BodyPlainText)
multipart/alternative
text/plain
text/html (shown by BodyHtmlText)

When I use the BodyPlainText property I get back the contents of the first text/plain part. When I use the BodyHtmlText property I get back the contents of the text/html part. I would have expected these 2 properties to return the same contents, not content from 2 different parts of the message. How do I retrieve the contents of the second text/plain part?


                           
Back to Top View mgm's Profile Search for other posts by mgm
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 29 June 2010 at 6:52am | IP Logged Quote Igor

We agree this should be treated as a bug. Could you please provide us with sample email message so that we could reproduce and eliminate the issue? Thanks.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
mgm
Newbie
Newbie


Joined: 13 June 2008
Online Status: Offline
Posts: 6
Posted: 30 June 2010 at 2:59am | IP Logged Quote mgm

Igor wrote:
We agree this should be treated as a bug. Could you please provide us with sample email message so that we could reproduce and eliminate the issue? Thanks.


I will send you a sample message later tonight.

If a message has multiple text parts, how does MailBee decide which one is read into the BodyText and BodyHTML properties?

Best wishes,
Malcolm
Back to Top View mgm's Profile Search for other posts by mgm
 
mgm
Newbie
Newbie


Joined: 13 June 2008
Online Status: Offline
Posts: 6
Posted: 11 July 2010 at 5:58am | IP Logged Quote mgm

mgm wrote:
If a message has multiple text parts, how does MailBee decide which one is read into the BodyText and BodyHTML properties?


Any insight from MailBee?

Best wishes,
Malcolm
Back to Top View mgm's Profile Search for other posts by mgm
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 12 July 2010 at 1:54am | IP Logged Quote Igor

Currently, if message contains multiple plaintext parts, the first of them is grabbed for BodyPlainText; same goes for BodyHtmlText. However, as I previously mentioned, this doesn't seem to be 100% correct approach, those parts contained within multipart/alternative should have higher priority. This behavior will be changed in one of the future releases of the product. We have received a sample mail you've submitted, and that's a great help towards adding a fix. Thank you!

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 13 July 2010 at 5:09am | IP Logged Quote Igor

The new build of the DLL containing a fix for the issue is now available here.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide