Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Java mail - embedding JPG/GIF/SWF  RSS feed

 
Michael Lowden
Greenhorn
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
Bartender
Posts: 3150
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!