Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

mime.txt image attached when MimeMessage object used for email in java 7  RSS feed

sandeepdamodar suryavanshi
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am trying to send email that contains html content and images. I am able to send email using MimeMessage object. I can see images are coming correctly inside email body. This functionality is working fine in jdk 1.6.0_30 but when I upgraded java to jdk 1.7.0_03 I can see one attachment namely mime.txt along with every email. When I opened that file, it's was showing binary data.
I am not sure why this attachment coming in email and why with jdk 1.7 version?

Do you have any idea?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!