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

Free Support Forum - aspose.com

PST number is skipped in html body content

Hello,

I’ve faced the issue that the first number is omitted when I set body content for MapiMessage with BodyContentType.HTML, which is wrong.

So, for the following code:

MapiMessage message = new MapiMessage();
message.setBodyContent("123 456", BodyContentType.Html);
message.getBody();

Expected result is "123 456"
Actual result is "456"

Please, have a look at this issue.
Thanks!

@Zeruch

You may need to pass HTML content as follows:

message.setBodyContent("<html><body>123 456</body></html>", BodyContentType.Html);

Thanks for your reply

This works, even just putting the number inside any tag works. However, I still think that this is a bug and it should be fixed.

Thanks!

@Zeruch

We have logged this issue with ID “EMAILJAVA-34453” for further investigation. You will automatically be informed here once we have more information to share.

The issues you have found earlier (filed as EMAILJAVA-34453) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan