Free Support Forum - aspose.com

Add New Item in Mail Header after To, From, Sent, Cc, Bcc, Subject during Email (EML) to MHTML to PDF Conversion using Java

Hi Team,

I am converting eml to pdf, in output PDF by default print To, From, CC, Subject.
I need to add new paramete r value after Subject.

input.png (15.5 KB)
Code.zip (534 Bytes)

regards
Tarun Srivastava

@genpact,

Please ZIP and attach the following resources here for testing:

  • Your simplified source email EML file containing the content for new parameter value
  • Aspose.Words for Java 21.1 generated output PDF file showing the undesired behavior
  • Your expected PDF file showing the desired output. You can create this document manually by using MS Word or any other editor.

As soon as you get these pieces of information ready, we will start further investigation into your scenario and provide you more information.