[mail] Make actions names for DSL rules consistent with documentation (#14151)
* [mail] Make actions names for DSL rules consistent with documentation Keep old names for backward compatibility. Actions names are now consistent over all rule engines. * Review comment: use htmlContent as parameter name * Review comment: make consistent url and urlList parameters Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
@@ -89,11 +89,11 @@ This binding includes rule actions for sending email.
|
||||
Six different actions available:
|
||||
|
||||
- `boolean success = sendMail(String recipient, String subject, String text)`
|
||||
- `boolean success = sendMailWithAttachment(String recipient, String subject, String text, String URL)`
|
||||
- `boolean success = sendMailWithAttachments(String recipient, String subject, String text, List<String> URL)`
|
||||
- `boolean success = sendMailWithAttachment(String recipient, String subject, String text, String url)`
|
||||
- `boolean success = sendMailWithAttachments(String recipient, String subject, String text, List<String> urlList)`
|
||||
- `boolean success = sendHtmlMail(String recipient, String subject, String htmlContent)`
|
||||
- `boolean success = sendHtmlMailWithAttachment(String recipient, String subject, String htmlContent, String URL)`
|
||||
- `boolean success = sendHtmlMailWithAttachments(String recipient, String subject, String htmlContent, List<String> URL)`
|
||||
- `boolean success = sendHtmlMailWithAttachment(String recipient, String subject, String htmlContent, String url)`
|
||||
- `boolean success = sendHtmlMailWithAttachments(String recipient, String subject, String htmlContent, List<String> urlList)`
|
||||
|
||||
The `sendMail(...)` send a plain text mail (with attachments if supplied).
|
||||
The `sendHtmlMail(...)` send a HTML mail (with attachments if supplied).
|
||||
|
||||
Reference in New Issue
Block a user