Setting null mail attribute produces ERROR
------------------------------------------

                 Key: JAMES-1294
                 URL: https://issues.apache.org/jira/browse/JAMES-1294
             Project: JAMES Server
          Issue Type: Bug
          Components: Queue
    Affects Versions: Trunk
            Reporter: Andrzej Rusin
            Priority: Minor


In the log:

ERROR 07:27:34,519 | james.mailqueuefactory | Not supported mail attribute 
LOCALADDRESS of type null

when:

public void service(Mail mail) {

(...)

String localAddress = null;

(...)

mail.setAttribute(LOCALADDRESS, localAddress);

Probably NULL-valued attributes should be allowed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to