Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Javamail and multipart/alternative?

1 view
Skip to first unread message

Christopher Tester

unread,
Dec 8, 2001, 11:32:09 AM12/8/01
to
Hi,

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...

0 new messages