javax.mail.MessagingException: IOException while sending message; OR javax.activation.UnsupportedDataTypeException
Symptoms
Unable to send email or received email notification.
The following appears in the atlassian-confluence.log
:
javax.mail.MessagingException: IOException while sending message;
nested exception is:
javax.activation.UnsupportedDataTypeException
Another symptom that you may find on space mail level is:
Confluence space mail is unable to read or process the email body. Example:
Subject: Documentation
From: "Hanis" <hanis@atlassian.com>
Date: February 03, 2013 12:49
javax.mail.util.SharedByteArrayInputStream@73bf9b0e ---> this is the body email.
Cause
activation-x.x.x.jar and mail-x.x.x.jar from /confluence/WEB-INF/lib were not moved over to <confluence-install>/lib (Tomcat 6)
Resolution
Ensure that both activation-x.x.x.jar and mail-x.x.x.jar from /confluence/WEB-INF/lib have been moved (but not copy) to <confluence-install>/lib (Tomcat 6)
You may also refer here: http://www.jguru.com/faq/view.jsp?EID=237257