mirror of
https://github.com/danieldemus/openhab-addons
synced 2026-07-29 12:34:21 +02:00
[mail] Fix sending HTML mails (#16587)
Signed-off-by: Jan N. Klug <github@klug.nrw>
This commit is contained in:
+1
-1
@@ -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), "", "");
|
||||
|
||||
Reference in New Issue
Block a user