Jiangang Song wrote:
> Or is there anything wrong with my usage of Java mail?

The "blank page problem" is (as documented in the book) caused by the 
fact that some applications (such as Java mail?) "shave bytes".

PDF is a binary file format. You need to transfer it as a binary file. 
If you open up the PDF with the "shaved bytes" in a text editor, you'll 
see that there are lots of question marks. Those are bytes that have 
lost a bit due to the way you've transferred them.

You need to make sure that you transfer the file as a binary file.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------

_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to