if (m == null) {
popSession.reply(session, "-ERR no such message");
} else {
popSession.reply(session, "+OK " + m.size() + " octets");
Session mailSess = null;
ChunkWriter store = new ChunkWriter() {
public void newChunk(int i, byte[] data) {
IoBuffer bb = IoBuffer.wrap(data);
session.write(bb);
}