This discussion is archived
1 Reply Latest reply: Feb 25, 2012 10:38 AM by bshannon RSS

Printing the email

919764 Newbie
Currently Being Moderated
is there any idea how to print the email to any pcl compatible printer?
rf to store the email as PDF?

I can store the message but I did not find any solution how to print or convert it.

  • 1. Re: Printing the email
    bshannon Pro
    Currently Being Moderated
    I'm afraid that's not something JavaMail is going to help you with. You can use JavaMail to access all the content
    of the message, but it's going to be up to you to decide how to display it or format it for printing. You can use the
    Swing classes to render it, and then print it. Or you can find a library that lets you generate PDF directly.


  • Correct Answers - 10 points
  • Helpful Answers - 5 points