Two Laptop Bag*
The moose likes Other JSE/JEE APIs and the fly likes mime.txt image attached when MimeMessage object used for email in java 7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "mime.txt image attached when MimeMessage object used for email in java 7" Watch "mime.txt image attached when MimeMessage object used for email in java 7" New topic
Author

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

sandeepdamodar suryavanshi
Greenhorn

Joined: Jul 07, 2005
Posts: 2
Hi,

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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: mime.txt image attached when MimeMessage object used for email in java 7