| Author |  | 
      
        | rojobull Newbie
 
  
  
 Joined: 31 October 2012
 Location: United States
 Online Status: Offline
 Posts: 5
 | 
          I am using the MsgConver object to read in an Outlook (msg) email message which parses the msg file into a MailBee message. Everything seems to work fine but on certain occasions winmail.dat appears as an extra attachment in the emails that get sent out. This seem to happen only the original msg file has some kind of attachment either inline or explicitly attached files.
           | Posted: 31 October 2012 at 12:58pm | IP Logged |   |  
           | 
 |  
 Any idea why this file is appearing as an attachment and how I can get rid of it?
 
 Thanks
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          That behavior isn't related to MSG/EML conversion directly, winmail.dat file, also known as TNEF container, can be added by Outlook if message contains attachments or RTF body, so instead of multiple attachments there's just one file which is used as a container. There's an article on this in Microsoft Knowledge Base.
           | Posted: 01 November 2012 at 2:04am | IP Logged |   |  
           | 
 |  
 You can remove that container upon conversion if you don't require it. Alternately, you can parse it using GetAttachmentsFromTnef method.
 
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  |