StratosConstants.EMAIL_CONFIG + File.separator +
"email-new-tenant-registration.xml";
EmailSenderConfiguration newTenantRegistrationEmailConf =
EmailSenderConfiguration.loadEmailSenderConfiguration(
tenantRegistrationEmailConfFile);
tenantCreationNotifier = new EmailSender(newTenantRegistrationEmailConf);
// Tenant Activation Email Configurations
String tenantActivationEmailConfFile =
CarbonUtils.getCarbonConfigDirPath() + File.separator +
StratosConstants.EMAIL_CONFIG + File.separator +
"email-new-tenant-activation.xml";
EmailSenderConfiguration newTenantActivationEmailConf =
EmailSenderConfiguration
.loadEmailSenderConfiguration(tenantActivationEmailConfFile);
tenantActivationNotifier = new EmailSender(newTenantActivationEmailConf);
}