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