This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: mime.txt image attached when MimeMessage object used for email in java 7
 
It's not a secret anymore!