james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Liles" <d...@dynamichostings.com>
Subject RE: Return Messages
Date Thu, 09 Oct 2003 15:54:38 GMT
Storage quota matcher?
 
I was trying to call the following but get a NullPointerException.....
 
public JDBCMailRepository getMessage(HttpServletRequest req, HttpServletResponse res) throws
IOException {
    JDBCMailRepository mr = new JDBCMailRepository();
    Iterator it = mr.list();
    mr.list();
    cat.info("Message: " + mr);
    return mr;
  }
 
 

	-----Original Message----- 
	From: Noel J. Bergman [mailto:noel@devtech.com] 
	Sent: Thu 10/9/2003 10:26 AM 
	To: James Developers List 
	Cc: 
	Subject: RE: Return Messages
	
	

	> For the life of me I can't seem to figure out how to return a list of messages
	
	You might notice that the storage quota matchers get a list of messages, as does the POP3
handler.
	
	        --- Noel
	
	
	---------------------------------------------------------------------
	To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
	For additional commands, e-mail: server-dev-help@james.apache.org
	
	

Mime
View raw message