hhuijser/liferay-portal — pull request #1808 by ericmin (2014-03-26 23:59:57+00:00)
Title: LPS-45488 Filter replyTo to have valid email addresses

This fix extended from LPS-44849. After setup the SES to test this issue I found the root cause of this issue is that replyTo contains invalid email address like <>. That is the real reson why it threw the empty adress exception.

If replyTo is empty then it will have the array like [<>] which same as to, but in MailMessageListener we filter the "to" to remove the "<>" so when "to" is empty it will have an empty array like [], so we should apply the same pattern to "replyTo" to fix this issue to make the empty array to [] as well.