diff --git a/pom.xml b/pom.xml index cfdeefc..5bab660 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.example Widerhall - 1.0.4 + 1.0.5 diff --git a/src/main/java/de/srsoftware/widerhall/mail/SmtpClient.java b/src/main/java/de/srsoftware/widerhall/mail/SmtpClient.java index f60e9cd..f36dc71 100644 --- a/src/main/java/de/srsoftware/widerhall/mail/SmtpClient.java +++ b/src/main/java/de/srsoftware/widerhall/mail/SmtpClient.java @@ -52,10 +52,10 @@ public class SmtpClient { } if (newSender != null){ forward.setFrom(newSender); - forward.setSubject(subject+" (von "+oldSender+")"); + forward.setSubject(subject+" (von "+oldSender+")","utf-8"); } else { forward.setFrom(oldSender); - forward.setSubject(subject); + forward.setSubject(subject,"utf-8"); } if (replyTo != null) forward.setReplyTo(InternetAddress.parse(replyTo)); var recipientType = bcc ? Message.RecipientType.BCC : Message.RecipientType.TO; diff --git a/static/templates/footer.st b/static/templates/footer.st index 2eef8a0..8d1de52 100644 --- a/static/templates/footer.st +++ b/static/templates/footer.st @@ -1,5 +1,5 @@