How to handle multipart/alternative mail with JavaMail?

后端 未结 3 819
忘掉有多难
忘掉有多难 2021-01-31 12:22

I wrote an application which gets all emails from an inbox, filters the emails which contain a specific string and then puts those emails in an ArrayList.

After the ema

3条回答
  •  [愿得一人]
    2021-01-31 12:41

    Did you find these JavaMail FAQ entries?

    • How do I read a message with an attachment and save the attachment?
    • How do I tell if a message has attachments?
    • How do I find the main message body in a message that has attachments?

提交回复
热议问题