commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Neidhart (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (EMAIL-103) Plain email addresses always have a name set
Date Sat, 08 Dec 2012 19:27:20 GMT

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

Thomas Neidhart resolved EMAIL-103.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3

Applied patch together with unit test fixes in r1418735.

Thanks for the report and patch!
                
> Plain email addresses always have a name set
> --------------------------------------------
>
>                 Key: EMAIL-103
>                 URL: https://issues.apache.org/jira/browse/EMAIL-103
>             Project: Commons Email
>          Issue Type: Improvement
>    Affects Versions: 1.2
>            Reporter: David Rees
>            Assignee: Siegfried Goeschl
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: Email.patch
>
>
> With commons email, it always sets the "name" of the email address to the email address
when it is not passed in or is blank.  This results in address fields looking like this (using
From as an example):
> From: "example@example.com" <example@example.com>
> When I would expect them to look like this:
> From: example@example.com
> It seems that there is no real reason to do this.  At the very least, it would be nice
to have the option to not have this set.
> The affected file is org/apache/commons/mail/Email.java in function createInternetAddress.
 I will attach one possible solution.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message