Urgent help needed for Javamail!! -message.getAllRecepients() returns null.
1 posts in topic
Flat View  Flat View

Posted By:   Rohan_Chhatre
Posted On:   Wednesday, December 25, 2002 09:08 AM

When i try to get Address[] using
message.getAllRecepients(), it returns null. This is because the mail actually contains an invalid email-id with a space in it (e.g. john123 @ xyz.com). I have to retrieve the remaining addresses but cannot do so as the Address[] returned from the method message.getAllRecepients(), is null.
please suggest me some solution!

Re: Urgent help needed for Javamail!! -message.getAllRecepients() returns null.

Posted By:   John_Zukowski  
Posted On:   Thursday, December 26, 2002 05:24 PM

Manually process the headers yourself. (And get the originator of the message to fix things... :-))
About | Sitemap | Contact