Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET IMAP

 AfterLogic Forum : MailBee.NET IMAP
Subject Topic: Issue with inline .wmf attachments Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Amackenzie
Newbie
Newbie
Avatar

Joined: 02 May 2008
Location: United States
Online Status: Offline
Posts: 1
Posted: 02 May 2008 at 9:31am | IP Logged Quote Amackenzie

Hello,

I am using the MailBee.NET library as part of a mail-processing system that must save attachments of various formats to a specific location. Overall, I am very pleased with the product, but I sometimes run into an issue where I need to process an email with an inline Windows Metafile attachment.

For most inline attachments, I am able to test for inline by calling the MailBee.MIME.Attachment.IsInline predicate, then save the file using the .Save method and .FileName property. This works great for inline bitmaps.

An inline Windows Metafile will also return true for the .IsInline predicate, however. When I try to save it using its file name, the file saved is named ole0.bmp or similar. When I open this file, I am presented with an empty bitmap.

Is there any way to deal with inline windows metafiles?

I would need to either distinguish an inline .wmf from an inline .bmp somehow, or have a way of saving files that works for both file formats.

Any help would be greatly appreciated, thanks in advance.
Back to Top View Amackenzie's Profile Search for other posts by Amackenzie
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 03 May 2008 at 5:45am | IP Logged Quote Andrew

Actually, attachment format doesn't affect saving result, any attachment should be saved correctly. To let us investigate the issue, please provide us with an example of .eml file which contains the attachment causing the issue. You can save a message to an .eml file via MailMessage.SaveMessage method. Then submit it to us through Request Support form.

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 

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