Thanks for reply!
Does anybody know how to save the inline-image?
THX in advance!
Von: Leandro Rodrigo Saad Cruz [mailto:[email protected]]
Gesendet: Montag, 24. Januar 2005 14:16
Cc: [email protected]
Betreff: Re: Show HTML-Mail with Inline-Images
Hi Fibo. I didn't solve this problem on a java based webmail product we
developed (www.email2.com.br), but I have a suggestion.
When you receive the message, you have to remove all cid references as
attachments and save then in a directory accessible to your browser/client
AND parse the HTML part to refer to this new swapped elements. For example :
<img src="cid:image_name"> becomes
I thinks thats the only way to do it ! It's a PITA !
On Sun, 2005-01-23 at 13:04 -0700, Fibo wrote:
> Hi Mike,
> thanks for your reply.
> My SMTP-Solution sends the image inline with cids, which works fine..
> Outlook and Thunderbird display the mail correct (the image is
> embedded in the html-mail. it is not shown as an attachment!).
> The HTML-Text-Part references the image like <img
> The image itself is an own bodypart:
> MimeBodyPart textpart_img = new MimeBodyPart(); DataSource fds = new
> FileDataSource(html_img); textpart_img.setDataHandler(new
> DataHandler(fds)); textpart_img.setHeader("Content-ID",
> Finally i combine the HTML-Text-part with the concering image-part as
> MimeMultipart mp_related = new MimeMultipart("related");
> Now I´m working on a POP3-Solution and I don't know how to display
> this multipart-Mail with the image...
> Do you or anybody else know how to solve this problem?
> Thanks in advance!
> ===== To unsubscribe, send email to [email protected] and include
> in the body of the message "signoff JAVAMAIL-INTEREST". For general
> help, send email to [email protected] and include in the body of
> the message "help".
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JAVAMAIL-INTEREST". For general help, send email to
[email protected] and include in the body of the message "help".