Home  >  Q&A  >  body text

The content of the email sent by javamail is displayed as an attachment in the mac mail client

Use spring's MimeMessageHelper to send an email. The email content is just a picture and a description. The picture is embedded using inlineResource. Other email clients can display the picture directly, but the client under mac displays it as an email attachment.

黄舟黄舟2711 days ago656

reply all(1)I'll reply

  • 天蓬老师

    天蓬老师2017-05-18 10:48:39

    After looking at the API, it seems that the Mac email client will turn inline images into attachments

    reply
    0
  • Cancelreply