mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-24 03:05:17 +01:00
Send mail as html
This commit is contained in:
parent
16f5e1f91e
commit
7f7b713e67
@ -75,7 +75,7 @@ public class SendMailSSL {
|
||||
message.setSubject(subject);
|
||||
message.setSentDate(new Date());
|
||||
BodyPart messageBodyPart = new MimeBodyPart();
|
||||
messageBodyPart.setText(mailText);
|
||||
messageBodyPart.setContent(mailText, "text/html");
|
||||
Multipart multipart = new MimeMultipart();
|
||||
multipart.addBodyPart(messageBodyPart);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user