• Post Reply Bookmark Topic Watch Topic
  • New Topic

Javamail please help!

 
ron mccarthy
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
These are the errors that I am getting for this application, and i havent an idea apart from maybe I am not dealing with the email message at the beginning and filtering out HTML pages?
Can anyone shed any light?

java.io.WriteAbortedException: Writing aborted by exception; java.io.NotSerializableException: javax.mail.internet.MimeMultipart
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24213
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm going to move this to the "Other Java APIs" forum, where JavaMail questions go. Followups there, please.
 
ron mccarthy
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello People
Yes it is me again, I have my reply page coming up and I have done all the preperation for sending an email, and I have

This is ok and when i try and send the email I get something like:
DEBUG: debug javamail 1.3.1
(I think?)
Any clues as to why the email did not arrive at its destination?
Please help if you can!!
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ava.io.WriteAbortedException: Writing aborted by exception; java.io.NotSerializableException: javax.mail.internet.MimeMultipart

Sounds to me like an error in constructing a MimeMultipart object.
In your revised code, are you sure you are catching and displaying all exceptions? There are plenty of reasons why email can fail.
Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!