Browse Source

fixed subject for test mail

drop_old_mail
Stephan Richter 3 years ago
parent
commit
b771a73302
  1. 2
      pom.xml
  2. 2
      src/main/java/de/srsoftware/widerhall/data/MailingList.java

2
pom.xml

@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
<groupId>org.example</groupId>
<artifactId>Widerhall</artifactId>
<version>0.2.45</version>
<version>0.2.46</version>
<build>
<plugins>
<plugin>

2
src/main/java/de/srsoftware/widerhall/data/MailingList.java

@ -684,7 +684,7 @@ public class MailingList implements MessageHandler, ProblemListener { @@ -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);
}

Loading…
Cancel
Save