mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
[mail] Fix sending HTML mails (#16587)
Signed-off-by: Jan N. Klug <github@klug.nrw>
This commit is contained in:
parent
657405c2aa
commit
1f65f9296f
@ -185,7 +185,7 @@ public class MailBuilder {
|
||||
htmlMail.setTextMsg(text);
|
||||
htmlMail.setHtmlMsg(html);
|
||||
} else {
|
||||
htmlMail.setMsg(html);
|
||||
htmlMail.setHtmlMsg(html);
|
||||
}
|
||||
for (File file : attachmentFiles) {
|
||||
htmlMail.attach(new FileDataSource(file), "", "");
|
||||
|
Loading…
Reference in New Issue
Block a user