fixed subject for test mail

This commit is contained in:
2022-04-24 16:56:48 +02:00
parent 742dd673a9
commit b771a73302
2 changed files with 2 additions and 2 deletions

View File

@@ -684,7 +684,7 @@ public class MailingList implements MessageHandler, ProblemListener {
* @throws UnsupportedEncodingException
*/
public void test(User user) throws MessagingException, UnsupportedEncodingException {
var subject = t("{}: test mail",name());
var subject = t("[{}]: test mail",name());
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);
}