• Post Reply Bookmark Topic Watch Topic
  • New Topic

JavaMail Attachments

 
Ally Cavs
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys

Below is code im using to attach am excel file to a mail. I have used very similar code before on tomcat war. Worked fine. This was is being deployed to GF3. The mail sends fine but no attachment is included.
The byte array is full of values (ie not empty or null). Any thoughts?

 
Ally Cavs
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I removed the last line



seems to overwrite
 
It's exactly the same and completely different as this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!