• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java mail - embedding JPG/GIF/SWF

Michael Lowden
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i'm trying to find out how to code in pictures and flash into an email sent by javamail. i'm well adept at the mail protocol, but can't seem to figure this out.
from email source code containing pictures, it looks like i have to grab the BYTE[] for the jpg file, then reference a relatively random location in the email where the BYTE[] is embedded. but can't get it to work....anyone???
i'm really just using the JPG to figure out how to put a SWF file in.
Balaji Loganathan
author and deputy
Posts: 3150
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!