Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET Objects

 AfterLogic Forum : MailBee.NET Objects
Subject Topic: winmail.dat appears as an attachment Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
rojobull
Newbie
Newbie
Avatar

Joined: 31 October 2012
Location: United States
Online Status: Offline
Posts: 5
Posted: 31 October 2012 at 12:58pm | IP Logged Quote rojobull

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.

Any idea why this file is appearing as an attachment and how I can get rid of it?

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


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6092
Posted: 01 November 2012 at 2:04am | IP Logged Quote Igor

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.

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 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