Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET Objects

 AfterLogic Forum : MailBee.NET Objects
Subject Topic: Problem with Attachments Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
marcos
Newbie
Newbie


Joined: 17 July 2009
Online Status: Offline
Posts: 2
Posted: 17 July 2009 at 5:29am | IP Logged Quote marcos


Hi,

when i convert a .msg-file (Outlook-Mail with attachments) to a .eml-file with

string filename = @"C:\Temp\Mailtests\Test3";     &nb sp;         Msg Convert.MsgToEml(filename + ".msg", filename + ".eml");

the filenames of the attached files are renamed in 8.3-format, e.g. index.html is renamed to INDEX~1.HTM, test_something.txt becomes TEST_S~1.TXT and so on.

Is there a way to avoid this?

Trying to convert .msg-Files with attached .msg-Files ends up with an errormessage:

Object of type "ff" can not be casted to type "bo".

Any ideas how to solve this problem?

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


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6094
Posted: 17 July 2009 at 6:51am | IP Logged Quote Igor

Quote:
the filenames of the attached files are renamed in 8.3-format, e.g. index.html is renamed to INDEX~1.HTM, test_something.txt becomes TEST_S~1.TXT and so on.


We've released an updated version of MailBee.NET.dll, please update your installation and let us know if this helps.

Quote:
Trying to convert .msg-Files with attached .msg-Files ends up with an errormessage:

Object of type "ff" can not be casted to type "bo".


We're now working on the issue, and it would be very helpful if you provide us with sample code and email message you're trying to process, that could drastically speed up the investigation.

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


Joined: 17 July 2009
Online Status: Offline
Posts: 2
Posted: 20 July 2009 at 1:51am | IP Logged Quote marcos

Thanks for your quick reply.

With the new version it works fine, except that the converted .eml-file now has an additional attached file named "richbody.rtf" which contains the emailbody-text.

Quote:
We're now working on the issue, and it would be very helpful if you provide us with sample code and email message you're trying to process, that could drastically speed up the investigation.


I sent you an example-msg-file via helpdesk.

Thanks for your help,

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


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6094
Posted: 20 July 2009 at 2:59am | IP Logged Quote Igor

Quote:
With the new version it works fine


Good to hear the issue is resolved.

Quote:
except that the converted .eml-file now has an additional attached file named "richbody.rtf" which contains the emailbody-text


That is "by-design" behavior. If you don't need this attachment, you can remove it from the collection.

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