} else {
throw new RuntimeException("Cannot find smtp_server.xml!");
}
// load the xml
config = configDAO.loadConfig(smtpServerXML);
// on error, throw new exception
if (config == null) {
throw new RuntimeException("Error retrieving smtp_server.xml!");
} // end if