Skip to content

Commit 0a7ed2b

Browse files
authored
[mail] fix doc (openhab#16973)
Signed-off-by: Andrew Fiddian-Green <[email protected]>
1 parent 7bcce77 commit 0a7ed2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bundles/org.openhab.binding.mail/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ Examples:
145145

146146
```java
147147
val mailActions = getActions("mail","mail:smtp:samplesmtp")
148-
val success = mailActions.sendMail("[email protected]", "Test subject", "This is the mail content.")
148+
var success = mailActions.sendMail("[email protected]", "Test subject", "This is the mail content.")
149149
success = mailActions.sendMail("[email protected], [email protected]", "Test subject", "This is the mail content sent to multiple recipients.")
150150

151151
```
@@ -166,7 +166,7 @@ mailActions.sendHtmlMailWithAttachments("[email protected]", "Test subject", "<h1
166166

167167
```javascript
168168
val mailActions = actions.get("mail","mail:smtp:samplesmtp")
169-
val success = mailActions.sendMail("[email protected]", "Test subject", "This is the mail content.")
169+
var success = mailActions.sendMail("[email protected]", "Test subject", "This is the mail content.")
170170
success = mailActions.sendMail("[email protected], [email protected]", "Test subject", "This is the mail content sent to multiple recipients.")
171171
```
172172

0 commit comments

Comments
 (0)