From: Andrew Fiddian-Green Date: Mon, 1 Jul 2024 17:41:50 +0000 (+0100) Subject: [mail] fix doc (#16973) X-Git-Url: https://git.basschouten.com/?a=commitdiff_plain;h=0a7ed2bf891a6f4048c1d7d44768de622bf8d4c2;p=openhab-addons.git [mail] fix doc (#16973) Signed-off-by: Andrew Fiddian-Green --- diff --git a/bundles/org.openhab.binding.mail/README.md b/bundles/org.openhab.binding.mail/README.md index bab33fa7eb..06cfe9dede 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", "