>I would like to e-mail an HTML page and the associated images. I have
>looked at the javax.mail.* package and this only seems to allow the sending
>of plain text messages with no attachments. I thought that I would either
>send the e-mail as HTML, or send as a regular e-mail and attach the HTML
>page. Can anyone suggest a possible plan of attack?
You can try using the full URL of the image *location* rather than the image itself, much as you'd access an image from a browser. Since you're essentially sending a web page, you don't need to send the actual image (unless you actually want to attach the images to the mail itself), just the link to it:
<img src='http://foo.com/img/img.gif' border=0>, etc.
This might have been discussed on the JavaMail list, try checking the archives there, too.
-Jason
