I am working on a feature in my company’s web app which takes a file stored on our ftp server and attaches it to an email and sends it to the account specified in a form. We are using JBoss 4.0.5 as the app server. I am getting an exception that I don’t know what to do about. Is there some configuration information that JBoss is missing? The attachment in this case is an image/gif, but the attachment can have any MIME type. Here is the exception:
javax.mail.MessagingException: IOException while sending message;
nested exception is:
javax.activation.UnsupportedDataTypeException: no object DCH for MIME type image/gif