From 8100809ba7eff1691f4190e1dadb240b48046086 Mon Sep 17 00:00:00 2001 From: Andrew Fiddian-Green Date: Mon, 1 Jul 2024 18:41:50 +0100 Subject: [PATCH] [mail] fix doc (#16973) Signed-off-by: Andrew Fiddian-Green Signed-off-by: Ciprian Pascu --- bundles/org.openhab.binding.mail/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bundles/org.openhab.binding.mail/README.md b/bundles/org.openhab.binding.mail/README.md index bab33fa7eb0..06cfe9dede9 100644 --- a/bundles/org.openhab.binding.mail/README.md +++ b/bundles/org.openhab.binding.mail/README.md @@ -145,7 +145,7 @@ Examples: ```java val mailActions = getActions("mail","mail:smtp:samplesmtp") -val success = mailActions.sendMail("mail@example.com", "Test subject", "This is the mail content.") +var success = mailActions.sendMail("mail@example.com", "Test subject", "This is the mail content.") success = mailActions.sendMail("mail1@example.com, mail2@example.com", "Test subject", "This is the mail content sent to multiple recipients.") ``` @@ -166,7 +166,7 @@ mailActions.sendHtmlMailWithAttachments("mail@example.com", "Test subject", "