You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Richard Zowalla (Jira)" <ji...@apache.org> on 2021/10/04 11:15:00 UTC

[jira] [Commented] (GERONIMO-6800) MimeBodyPart.setText ignores subtype

    [ https://issues.apache.org/jira/browse/GERONIMO-6800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17423891#comment-17423891 ] 

Richard Zowalla commented on GERONIMO-6800:
-------------------------------------------

Hi [~Argannor] - any news? Would love to see a new javamail release soon :)

> MimeBodyPart.setText ignores subtype
> ------------------------------------
>
>                 Key: GERONIMO-6800
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6800
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: specs
>            Reporter: Argannor
>            Assignee: Francois Papon
>            Priority: Minor
>             Fix For: Javamail_1.6_1.0.1
>
>         Attachments: setText-subtype-ignored.patch
>
>
> Hi there,
> the following method from MimeBodyPart in geonimo-javamail_1.6_spec ignores the parameter subtype, and always sets the mime type to text/plain.
> {code:java}
> public void setText(final String text, String charset, final String subtype)
> {code}
> I've written a small patch, including a test case. Please let me know if I need to sign any legal documents to donate this code.
> Kind regards
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)