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?
subject: mime.txt image attached when MimeMessage object used for email in java 7