KEYCLOAK-226 Display header To in email message sent from Keycloak
This commit is contained in:
parent
a2e312b3f1
commit
bec267237a
1 changed files with 1 additions and 0 deletions
|
@ -86,6 +86,7 @@ public class EmailSender {
|
|||
|
||||
Message msg = new MimeMessage(session);
|
||||
msg.setFrom(new InternetAddress(from));
|
||||
msg.setHeader("To", address);
|
||||
msg.setSubject(subject);
|
||||
msg.setText(body);
|
||||
msg.saveChanges();
|
||||
|
|
Loading…
Reference in a new issue