You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Ben Speakmon (JIRA)" <ji...@apache.org> on 2008/04/11 09:34:04 UTC

[jira] Commented: (EMAIL-75) Email.setFrom, addTo should use Email.charset

    [ https://issues.apache.org/jira/browse/EMAIL-75?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587877#action_12587877 ] 

Ben Speakmon commented on EMAIL-75:
-----------------------------------

Agree. Can you provide a patch against the trunk?

> Email.setFrom, addTo should use Email.charset
> ---------------------------------------------
>
>                 Key: EMAIL-75
>                 URL: https://issues.apache.org/jira/browse/EMAIL-75
>             Project: Commons Email
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: Yu Kobayashi
>            Priority: Minor
>
> Email.addTo() and setFrom() doesn't use Email.charset.
> Code should be as following.
> public Email setFrom(String email, String name)
>     throws EmailException
> {
>     return setFrom(email, name, this.charset);
> }
> public Email addTo(String email, String name)
>     throws EmailException
> {
>     return addTo(email, name, this.charset);
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.