commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yu Kobayashi (JIRA)" <j...@apache.org>
Subject [jira] Updated: (EMAIL-75) Email.setFrom, addTo should use Email.charset
Date Fri, 11 Apr 2008 05:50:05 GMT

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


Mime
View raw message