[jboss-jira] [JBoss JIRA] Commented: (AS7-1375) UnsupportedDataTypeException sending email

Terrence Curran (JIRA) jira-events at lists.jboss.org
Sun Aug 7 13:47:41 EDT 2011


    [ https://issues.jboss.org/browse/AS7-1375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619237#comment-12619237 ] 

Terrence Curran commented on AS7-1375:
--------------------------------------

I had to do this to get it to work:
in /modules/javax/mail/api/main/module.xml
change the dependencies to:
    <dependencies>
        <module name="javax.activation.api" export="true"/>
        <module name="javax.api"/>
    </dependencies>

Then in /your.war/META-INF/MANIFEST.MF
Dependencies: javax.mail.api, javax.activation.api

This is working for me and I am now able to send email again.


> UnsupportedDataTypeException sending email 
> -------------------------------------------
>
>                 Key: AS7-1375
>                 URL: https://issues.jboss.org/browse/AS7-1375
>             Project: Application Server 7
>          Issue Type: Bug
>         Environment: jdk-u26, jboss-as-7.1.0.Alpha1-SNAPSHOT(07/22/2011)
>            Reporter: Tomáš Remeš
>
> Seam 3 send mail example fails on:
> javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed; 
> 	boundary="----=_Part_1_340486764.1311336438303"
> 	at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:905) [activation-1.1.1.jar:1.1.1]
> 	at javax.activation.DataHandler.writeTo(DataHandler.java:330) [activation-1.1.1.jar:1.1.1]
> 	at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1476) [mail-1.4.4.jar:1.4.4]
> 	at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1772) [mail-1.4.4.jar:1.4.4]
> 	at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1099) [mail-1.4.4.jar:1.4.4]
> 	... 42 more

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jboss-jira mailing list