You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by bu...@apache.org on 2003/06/23 09:16:25 UTC

DO NOT REPLY [Bug 21006] - NPE at James.sendMail line 371

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21006>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21006

NPE at James.sendMail line 371





------- Additional Comments From noel@devtech.com  2003-06-23 07:16 -------
This is treating the symptom.  FetchPOP pulled e-mail from some POP3 server.  
That message apparently lacks any suitable destination headers, causing the 
NullPointerException when trying to send.

We can certainly make the code using getAllRecipients() more robust, but the 
likely action is to not do a send.  The message would either be discarded or 
sent to ERROR.

The cause of the problem is really addressed with newer features in the 
FetchPOP replacement, Fetchmail.

---------------------------------------------------------------------
To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org