Affects Version/s: 1.2
Fix Version/s: 1.3
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: "email@example.com" <firstname.lastname@example.org>
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/Email.java in function createInternetAddress. I will attach one possible solution.