C
christopher
I am using HA Javamail (http://ha-javamail.sourceforge.net/
changes.html), which looks to be a little long in the tooth. It does
perform extremely well for 95% of what I want, but once it is
installed there is no option to not use it. Essentially, after
installing the jar in tomcat's HA Javamail simply works -- something
about the javax.mail.Transport interface makes it integrate
automatically.
My issue is HA Javamail does not seem to be throwing all the
exceptions thrown by the current JavaMail package. Consequently (If I
am saying this right), even if I catch Throwable when I invoke
Transport.sendMessage() I still get an exception in the logs:
com.sun.mail.smtp.SMTPSendFailedException
and my operation appears to have succeeded.
As I see it my options are a) rollback JavaMail to an earlier version
that doesn't throw things that HAJavamail doesn't catch, or b) hack
into HAJavamail and try and throw the exceptions so I can catch them
in my routine. I guess rebuilding someone else's package is a skill I
should have, but I am anticipating all manner of issues, considering
the age of the software.
suggestions?
-- clh
changes.html), which looks to be a little long in the tooth. It does
perform extremely well for 95% of what I want, but once it is
installed there is no option to not use it. Essentially, after
installing the jar in tomcat's HA Javamail simply works -- something
about the javax.mail.Transport interface makes it integrate
automatically.
My issue is HA Javamail does not seem to be throwing all the
exceptions thrown by the current JavaMail package. Consequently (If I
am saying this right), even if I catch Throwable when I invoke
Transport.sendMessage() I still get an exception in the logs:
com.sun.mail.smtp.SMTPSendFailedException
and my operation appears to have succeeded.
As I see it my options are a) rollback JavaMail to an earlier version
that doesn't throw things that HAJavamail doesn't catch, or b) hack
into HAJavamail and try and throw the exceptions so I can catch them
in my routine. I guess rebuilding someone else's package is a skill I
should have, but I am anticipating all manner of issues, considering
the age of the software.
suggestions?
-- clh