1
0
-1

Hi Team,

I need to convert Html receipt to Pdf receipt and send it as an attachment through an email.

Currently i am sending an html receipt as follows:

attachmentsMap.put("Receipt Name", new DataDocument(receiptHTML.getBytes(), "text/html", receiptName))

I need to convert it into PDF.

Can this be achieved?

Thanks,

Aman

    CommentAdd your comment...