| Author |  | 
      
        | yan.kun0567 Newbie
 
  
 
 Joined: 13 July 2016
 Location: Germany
 Online Status: Offline
 Posts: 1
 | 
          Hi,
           | Posted: 13 July 2016 at 3:30am | IP Logged |   |  
           | 
 |  
 I've following issue using MailBee.NET objects.
 
 I've got a .msg file, which is converted to a mail message. After that I'm interating over the attachments. One of the attachments is an .eml file.
 
 If I display the email in Outlook, the attachment is beeing displayed as a .msg file and can be viewed without any issues. However on the MailMessage's attachments the file is shown as an .eml file. I think Outlook is doing here some "on the fly" conversion.
 
 But the main issue is if I try to convert this .eml file to an MailMessage (I'm using GetEncapsulatedMessage()), I will get and issue with the embbeded RTF commands. They will display as plain text, in the PlainText body part and the html one, like this:
 
 Content-Type: text/html;
 ...
 <p class=3D"Ms=
 oNormal"><span style=3D"font-size:11.0pt;font-family:"Calibri","sans-serif"=
 ;color:#1F497D">
 d\cbpat2\plainHello Mr X,<o:p></o:p></Span></P>
 
 And:
 
 Content-Type: text/plain;
 ...
 d\cbpat2\plainHello Mr X,
 
 What is going on? :)
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          Hi,
           | Posted: 13 July 2016 at 5:38am | IP Logged |   |  
           | 
 |  
 Please send .msg input and .eml output to http://helpdesk.afterlogic.com for examination. Thanks!
 
 Regards,
 Alex
 | 
       
        | Back to Top |     | 
       
       
        |  |