[mail] fix doc (#16973)

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
This commit is contained in:
Andrew Fiddian-Green 2024-07-01 18:41:50 +01:00 committed by Ciprian Pascu
parent 24b3d6b7c1
commit 8100809ba7

View File

@ -145,7 +145,7 @@ Examples:
```java ```java
val mailActions = getActions("mail","mail:smtp:samplesmtp") 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.") 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", "<h1
```javascript ```javascript
val mailActions = actions.get("mail","mail:smtp:samplesmtp") val mailActions = actions.get("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.") success = mailActions.sendMail("mail1@example.com, mail2@example.com", "Test subject", "This is the mail content sent to multiple recipients.")
``` ```