Revision 49771
Added by Panagiotis Kanakakis over 6 years ago
EmailUtilsImpl.java | ||
---|---|---|
90 | 90 |
|
91 | 91 |
private void sendMail(List<String> recipients, String subject, String message, boolean sendToSpecial, List<String> repoAdminMails) throws Exception { |
92 | 92 |
|
93 |
try { |
|
93 |
/* try {
|
|
94 | 94 |
if (sendToSpecial) { |
95 | 95 |
recipients.addAll(this.specialRecipients); |
96 | 96 |
} |
... | ... | |
108 | 108 |
} catch (Exception e) { |
109 | 109 |
LOGGER.error("Error sending mail to Recipients: " + recipients + " Subject: " + subject + " Message: " + message, e); |
110 | 110 |
throw new Exception(e); |
111 |
} |
|
111 |
}*/
|
|
112 | 112 |
} |
113 | 113 |
|
114 | 114 |
private String getEmailProperty(String key) { |
Also available in: Unified diff
1. Disable emails.
2. Configure application properties of uoa-repository-manager-service app.