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

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

     [ https://issues.apache.org/jira/browse/EMAIL-75?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yu Kobayashi updated EMAIL-75:
------------------------------

    Description: 
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);
}


  was:
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);
    }



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