|
|
|
@ -52,10 +52,10 @@ public class SmtpClient {
@@ -52,10 +52,10 @@ public class SmtpClient {
|
|
|
|
|
} |
|
|
|
|
if (newSender != null){ |
|
|
|
|
forward.setFrom(newSender); |
|
|
|
|
forward.setSubject(subject+" (from "+oldSender+")"); |
|
|
|
|
forward.setSubject(subject+" (from "+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; |
|
|
|
|