| Author |  | 
      
        | mgm Newbie
 
  
 
 Joined: 13 June 2008
 Online Status: Offline
 Posts: 6
 | 
          I am trying out the Mail Mime capabilities and I have a mail message that has this layout of parts:
           | Posted: 29 June 2010 at 5:41am | IP Logged |   |  
           | 
 |  
 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 |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6167
 | 
          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.
           | Posted: 29 June 2010 at 6:52am | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | mgm Newbie
 
  
 
 Joined: 13 June 2008
 Online Status: Offline
 Posts: 6
 | 
          
           | Posted: 30 June 2010 at 2:59am | IP Logged |   |  
           | 
 |  
| 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 |     | 
       
       
        |  | 
        | mgm Newbie
 
  
 
 Joined: 13 June 2008
 Online Status: Offline
 Posts: 6
 | 
          
           | Posted: 11 July 2010 at 5:58am | IP Logged |   |  
           | 
 |  
| 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 |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6167
 | 
          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!
           | Posted: 12 July 2010 at 1:54am | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6167
 | 
          The new build of the DLL containing a fix for the issue is now available here.
           | Posted: 13 July 2010 at 5:09am | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  |