From b771a733021d76b0cb0311b99231e59c2d8c5e8f Mon Sep 17 00:00:00 2001 From: Stephan Richter Date: Sun, 24 Apr 2022 16:56:48 +0200 Subject: [PATCH] fixed subject for test mail --- pom.xml | 2 +- src/main/java/de/srsoftware/widerhall/data/MailingList.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 75d7279..88d0eec 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.example Widerhall - 0.2.45 + 0.2.46 diff --git a/src/main/java/de/srsoftware/widerhall/data/MailingList.java b/src/main/java/de/srsoftware/widerhall/data/MailingList.java index 5ca0dc8..6c2d98c 100644 --- a/src/main/java/de/srsoftware/widerhall/data/MailingList.java +++ b/src/main/java/de/srsoftware/widerhall/data/MailingList.java @@ -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); }