File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes Attach a generated pdf in a mail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Attach a generated pdf in a mail" Watch "Attach a generated pdf in a mail" New topic
Author

Attach a generated pdf in a mail

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hello ,
i have a problem with the attacment of a generated pdf in a mail. my code is the following




My problem is that i receive the mail correctlu by the pdf is incorrect.
I'm sure the byte[] content the correct pdf because when i write it in a local file i can see it.


if somebody knows where i make my mistake....

thanks
 
Don't get me started about those stupid light bulbs.
 
subject: Attach a generated pdf in a mail