hsarback/src/de/hsadmin/core/qserv/SmtpHelper.java | ●●●●● patch | view | raw | blame | history |
hsarback/src/de/hsadmin/core/qserv/SmtpHelper.java
@@ -27,6 +27,9 @@ SMTPClient client = new SMTPClient(); String canonicalHostName = InetAddress.getLocalHost().getHostName(); String smtpHost = Config.getInstance().getProperty("smtp.host"); if (smtpHost == null || smtpHost.trim().isEmpty()) { smtpHost = "localhost"; } if ("unittest".equals(smtpHost)) { // Nur fuer Unit-Tests if (subject.toLowerCase().contains("error")) { throw new HSAdminException("Konnte Mail nicht senden");