commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Rees (JIRA)" <>
Subject [jira] [Created] (EMAIL-103) Plain email addresses always have a name set
Date Wed, 30 Mar 2011 00:30:05 GMT
Plain email addresses always have a name set

                 Key: EMAIL-103
             Project: Commons Email
          Issue Type: Improvement
    Affects Versions: 1.2
            Reporter: David Rees
            Priority: Minor
         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: "" <>

When I would expect them to look like this:


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/ in function createInternetAddress.
 I will attach one possible solution.

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message