Change By: Grégory Joseph (18/Jul/13 7:54 PM)
Description: {{javax.mail.Message#getAllRecipients()}} returns null in case no {{To:}} or {{Cc:}} header exists in the message (which happens when an email is sent using only a {{Bcc:}} field).

Likewise, {{javax.mail.Message#getFrom()}} can return null if there is no {{From:}} header (I don't know of a valid reason for that).

Such emails should not imported when filtering on recipient or sender respectively, since there is no recipient/sender to check.


We currently don't treat that, resulting in a dumb NullPointerException
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



----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <dev-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to