Author |
|
Amackenzie Newbie
Joined: 02 May 2008 Location: United States
Online Status: Offline Posts: 1
|
Posted: 02 May 2008 at 9:31am | IP Logged
|
|
|
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 |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 03 May 2008 at 5:45am | IP Logged
|
|
|
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 |
|
|