wood burning stoves 2.0*
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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

Attach a generated pdf in a mail

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....

I agree. Here's the link: http://aspose.com/file-tools
subject: Attach a generated pdf in a mail
Similar Threads
problems in background image !!!
JavaMail API error
My Application is not sending mail to external servers
JavaMail installation
Sending attachments with emails in Javamail