We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Angle brackets are not being removed from the DisplayTo field after version upgrade

I did version upgrade on a utility that converts eml files to pst files, but got regression failures from the aspose library because it doesn’t seem to be removing angle brackets around the recipient of an email when it appears to have done so in the past.

Given EML file field

To: <testco.1111@company.com>

The DisplayTo value is “<testco.1111@company.com>” when in the past, it appears to have been “testco.1111@company.com” according to our test library. I was wondering what the expected behavior is supposed to be and if there is some option I need to set to use the old behavior.


You have mentioned that its a regression. Can you please share that which version worked as per your expectation and which version is having issue. Please also provide the working sample code along with source files and output so that I may log the issue in our issue tracking system.