Playing with Javamail and all is well for all emails it handles
with/without attachments etc... totally resiliant....
That is, until someone sent an email with a MIME multipart/alternative
type....
Javamail just lost it:
java.lang.ClassCastException: javax.mail.internet.MimeMultipart
at getmail_6._jspService(getmail_6.java:529)
at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org.apache.tomcat.facade.ServletHandler.doService(Unknown
Source)
at org.apache.tomcat.core.Handler.invoke(Unknown Source)
at org.apache.tomcat.core.Handler.service(Unknown Source)
at org.apache.tomcat.facade.ServletHandler.service(Unknown
Source
Any ideas on how this can be fixed?
Thanx in advance...