Hi DeBoer, 
  I am now workign on Jems 2.0a2. I startes my server and It says that All is Ok And 
getting the following message: 
Phoenix 3.1a1-dev 

James 2.0a2 
Started POP3 Server plain:110 
Started SMTP Server plain:25 
Started NNTP Server plain:119 

and now I am trying to access a Mail Box using the following code: 

import org.apache.james.*; 
public class MailTest{ 

public static void main(String args[]){ 
try{ 
James james = new James(); 
james.addUser("mybox","mybox"); 

}catch(Exception e){ 
e.printStackTrace(); 
} 
} 
} 


And I get the Following error: 

java.lang.NullPointerException 
        at org.apache.james.James.addUser(James.java:485) 
        at MailTest.main(MailTest.java:7) 
What should be done. 
  And...as I am new.I request u to give me some working code. So that I can get feel 
of it. 
regards, 
Sreeram M C 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to