throw new MimeEmailException("The email's to, cc, and bcc fields are empty.");
}
try {
// Should use the log.nsf first!
//Database db = DominoUtils.openDatabaseByName("log.nsf");
Database db = ExtLibUtil.getCurrentDatabase();
if(db==null) {
// Should use the log application
throw new MimeEmailException("Unbale to find an NSF to send the email message");
}
lotus.domino.Session session = db.getParent();
Document doc = db.createDocument();
doc.appendItemValue("Form", "Memo"); //$NON-NLS-1$
doc.appendItemValue("Subject", getSubject()); //$NON-NLS-1$
doc.appendItemValue("SendTo", getCommaSeparatedTo()); //$NON-NLS-1$