This week's book giveaway is in the Agile forum.
We're giving away four copies of Head First Agile and have Andrew Stellman & Jennifer Greene on-line!
See this thread for details.
Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

javax . mail. internet. ParseException  RSS feed

Suresh Vempati
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I get this exception when I use Transport.send(Mimemsg) method.

at javax.mail.internet.ContentType.<init>(
at javax.mail.internet.MimeBodyPart.updateHeaders(
at javax.mail.internet.MimeMessage.updateHeaders(
at javax.mail.internet.MimeMessage.saveChanges(
at javax.mail.Transport.send(

I get this exception only when an vacation response(auto response) comes from Yahoo.
and the content is shown as com.sun.mail.util.SharedByteArrayInputStream@f7757c.

We are able to parse the mime object (vacation respone from yahoo) and get all the details.then we modify the mime object by setting To address and then again transport the message to SMTP.

Can any one help me please.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!