Free Support Forum - aspose.com

Can not get correcte attachment name

Hi,


I’ve got a problem with some mail attachments.
When I get the attachment from a MailMessage object, the “Name” property is usually equal to the file name. But with some mail messages that isn’t the case.
In one test message, I found the following:

Content-type: application/msword; name="0.146709557907062"
Content-transfer-encoding: base64
Content-disposition: inline; filename="docTestFile.doc"

The name returned is “0.146709557907062” instead of the file name.
I couldn’t find a property that gets me the correct file name.

Attached is the eml file (zipped).

Can someone please give advice about how to get the correct name?
I’ve tested the eml file in multiple mail clients and they all display the attachment file name correctly.

Sincerely,

Geert-Jan Smulders

Hi Geert,

Thank you for inquiry.

I have reproduced this issue with the attached file and logged this bug (ID: 29162). We will look into it and will inform you when it gets fixed. Sorry for the inconvenience.

The issues you have found earlier (filed as 29162 ) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.

Hi,


Thank you for fixing this bug.
I have tested and confirmed that the issue is solved.
This topic can be closed.

Sincerely,

Geert-Jan Smulders