if (!emailConfigFileName.equals("????")) {
PathLocator pathLocator = new PathLocator();
String emailConfigFilePath = pathLocator.findAbsoluteEndPath(
referenceClass, classDirName, configDirName
+ File.separator + emailConfigFileName);
EmailsConfig emailsConfig = new EmailsConfig(
emailConfigFilePath);
config = (EmailConfig) emailsConfig.getLastEmailConfig();
} else {
log.info("Email XML configuration file does not exist.");
}
} catch (Exception e) {
log.error("Email config error: " + e.getMessage());