updated some texts

This commit is contained in:
2022-04-19 10:48:33 +02:00
parent b332441a56
commit ae63ffa083
2 changed files with 3 additions and 3 deletions

View File

@@ -356,7 +356,7 @@ public class MailingList {
try {
sendConfirmationRequest(user, member.token());
} 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 {
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);
}
}