You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by sreeram <sr...@bodhtree.com> on 2002/02/12 05:59:24 UTC
Not able to creat and access inbox...Any help
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>