将MIME消息转换为lotus.domino.MIMEEntity

时间:2018-08-02 07:51:34

标签: java lotus-domino mime

我想将这样的MIME消息(可能更复杂)转换为lotus.domino.MIMEEntity对象:

MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----=_NextPart_000_0021_01D428E8.7DB059A0"

This is a multipart message in MIME format.

------=_NextPart_000_0021_01D428E8.7DB059A0
Content-Type: text/plain;
    charset="us-ascii"
Content-Transfer-Encoding: 7bit

Bla bla


------=_NextPart_000_0021_01D428E8.7DB059A0
Content-Type: text/html;
    charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<p>Bla bla</p>

------=_NextPart_000_0021_01D428E8.7DB059A0—

是否有类似Java邮件中的方法(新的javax.mail.internet.MimeBodyPart(java.io.InputStream是))避免浏览消息以创建每个子MIMEEntity的方法?

谢谢

0 个答案:

没有答案