简体   繁体   中英

javamail - read an email with cid:image

I read Emails with JavaMail. All is working.

My problem are Inline-Images, which are inserted by cid:image This images are not shown in the Email.

How is the workflow in JavaMail to show this images in an Email?

Can you give me some tips how to handle it? I have found here this posting which helps me not really: Javamail and Javafx. Read and show mail embedded images

How are you displaying the contents of the message? You're going to have to do something so that URLs of the form "cid:" are able to be resolved to the attachments in the message. If you're displaying the message contents in a web browser, you'll probably want to process the message text and convert the cid: references into a file: or http: reference and make sure the attachment data is available at that URL.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM