Merge branch 'main' into lang_de
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<groupId>org.example</groupId>
|
<groupId>org.example</groupId>
|
||||||
<artifactId>Widerhall</artifactId>
|
<artifactId>Widerhall</artifactId>
|
||||||
<version>0.0.10</version>
|
<version>0.0.11</version>
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
|||||||
@@ -356,7 +356,7 @@ public class MailingList {
|
|||||||
try {
|
try {
|
||||||
sendConfirmationRequest(user, member.token());
|
sendConfirmationRequest(user, member.token());
|
||||||
} catch (UnsupportedEncodingException e) {
|
} catch (UnsupportedEncodingException e) {
|
||||||
throw new MessagingException("Failed to send email to "+user.email(),e);
|
throw new MessagingException(t("Failed to send email to {}",user.email()),e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -369,7 +369,7 @@ public class MailingList {
|
|||||||
*/
|
*/
|
||||||
public void test(User user) throws MessagingException, UnsupportedEncodingException {
|
public void test(User user) throws MessagingException, UnsupportedEncodingException {
|
||||||
var subject = t("{}: test mail",name());
|
var subject = t("{}: test mail",name());
|
||||||
var text = t("If you received this mail, the SMTP settings of your mailing list are correct.");
|
var text = "If you received this mail, the SMTP settings of your mailing list are correct.";
|
||||||
smtp.login().send(email(),name(),user.email(),subject,text);
|
smtp.login().send(email(),name(),user.email(),subject,text);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user