[
https://issues.apache.org/jira/browse/GERONIMO-6800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Louis Monteiro resolved GERONIMO-6800.
-------------------------------------------
Resolution: Fixed
> 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)