mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-12033
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32771 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -264,10 +264,13 @@ public class ContentModelMessage extends AbstractMimeMessage
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
||||||
|
if(!(author == null || author.isEmpty()))
|
||||||
|
{
|
||||||
StringBuilder contentAuthor = new StringBuilder();
|
StringBuilder contentAuthor = new StringBuilder();
|
||||||
contentAuthor.append("\"").append(author).append("\" <").append(defaultFromAddress).append(">");
|
contentAuthor.append("\"").append(author).append("\" <").append(defaultFromAddress).append(">");
|
||||||
result = InternetAddress.parse(contentAuthor.toString());
|
result = InternetAddress.parse(contentAuthor.toString());
|
||||||
return result;
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
catch (AddressException e)
|
catch (AddressException e)
|
||||||
|
Reference in New Issue
Block a user