You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Francois Papon (Jira)" <ji...@apache.org> on 2021/08/30 22:16: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=17406963#comment-17406963 ] 

Francois Papon commented on GERONIMO-6800:
------------------------------------------

Hi [~Argannor]

Thanks for your contribution!

Can you provide a pull request on the github repository (https://github.com/apache/geronimo-javamail)?

If this is your first contribution, you have to sign the ICLA ([https://www.apache.org/licenses/icla.pdf]) and send it to secretary@apache.org

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