return size;
}
public void storeMail(MimeMessage mm) {
StandardMessageFactoryImpl factoryImpl = new StandardMessageFactoryImpl();
StandardMessageImpl sm = new StandardMessageImpl();
factoryImpl.toStandardMessage(mm, sm);
TMessageResource mr = new TMessageResource(this,"msg-" + nextMsgId++, sm);
System.out.println("stored message in: " + mr.getName());
}