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 David Liles <da...@dynamichostings.com> on 2003/10/09 01:18:23 UTC

List Messages

For the life of me I can't seem to get a list of the messages stored in the inbox table. I am calling the JDBCMailRepository.list method.... When I run my code I get a null pointer exception... why when the method doesn't require any parameters?

What's the magic?....

JDBCMailRepository mr = new JDBCMailRepository();
Iterator messages = (Iterator)mr.list(); 

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