• Post Reply Bookmark Topic Watch Topic
  • New Topic

attachment E-mail reading exception  RSS feed

 
Edward Durai
Ranch Hand
Posts: 223
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I read the mail using javamail api,

I am getting,
javax.mail.MessagingException: Missing start boundary

Which situation, this exception will occur,

how can i overcome this problem,

kindly send me your suggestions.
 
Edward Durai
Ranch Hand
Posts: 223
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please send me your suggestions.
 
Rob Spoor
Sheriff
Posts: 21052
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How did you get the source of the message? Because apparently it is corrupt.

An email message is actually nothing more than a piece of plain text. All different parts are separated; it uses these "boundaries" to see where one part stops and the next one starts.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!