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

Free Support Forum - aspose.com

Spaces in Header in PDF output from conversion of msg file

Hi, I am using the Aspose.Email and Aspose Word to convert msg to pdf. After upgrading the jar file, the headers in the pdf output are now arranged differently compared to before.
Before there would be a spacing between the From/Sent/To/Cc/Subject and the information as per the screenshot uploaded, while after there would be not spaces in between the headers and the information.
Please advise if there is a way to set it to the way before.

spacing in between.JPG (1.5 KB)


I have observed the issue shared by you. I request you to please try using latest Aspose.Email for Java 20.2 and Aspose.Words for Java 20.3 on your end ans see if the issue is reproduced on your end. If the issue is still occuring then please save the output of MSG file as MHTML file and compare that with MSG file. If the MHTML and MSG/EML files are identical but issue is still there in PDF then it means the issue is on Aspose.Words end. However, if the MHTML file is not identical to source file then please share the source file and generated MHTML with us that is reproducing issue.