Send mail to gepafin or sviluppumbria based on hub email

This commit is contained in:
harish
2024-11-13 23:56:52 +05:30
parent c86a4cf91c
commit e3f5c72e59
3 changed files with 4 additions and 88 deletions

View File

@@ -97,9 +97,6 @@ public class ApplicationDao {
@Value("${default_System_Receiver_Email}")
private String defaultSystemReceiverEmail;
@Value("${gepafin_email}")
private String gepafinEmail;
@Value("${rinaldo_email}")
private String rinaldoEmail;
@@ -845,7 +842,7 @@ public class ApplicationDao {
// mailUtil.sendByMailGun(subject, body, List.of(carloEmail), null);
emailNotificationDao.sendMail(hub.getId(), subject, body, List.of(carloEmail));
}
emailNotificationDao.sendMail(hub.getId(), subject, body, List.of(gepafinEmail));
emailNotificationDao.sendMail(hub.getId(), subject, body, List.of(hub.getEmail()));
emailNotificationDao.sendMail(hub.getId(), subject, body, List.of(defaultSystemReceiverEmail));
emailNotificationDao.sendMail(hub.getId(), subject, body, List.of(rinaldoEmail));