Description
Send an email. Supports HTML, attachments and inlined images.
Examples
[%email(
from: "batman@topincs.com",
to: "justiceleague@topincs.com",
cc: "superman@topincs.com",
subject: "Mess in the community kitchen",
text: "Dear all,\ni do not wanna complain again, but Superman has again …"
);%]
|
Parameters13
Coding name |
data
|
Description |
An option map holding the email info: from, to, text, attachments, etc.
|
Position |
1
|
Type |
email data(Option map)
|
Deprecated in |
Topincs 9.0.0
|
Coding name |
text
|
Description |
The message in text format.
|
Position |
5
|
Type |
String(Primitive type)
|
Introduced in |
Topincs 9.0.0
|
Coding name |
html
|
Description |
The message in HTML format.
|
Position |
6
|
Type |
|
Introduced in |
Topincs 9.0.0
|
Coding name |
to
|
Description |
The recipients.
|
Position |
7
|
Type |
|
Introduced in |
Topincs 9.0.0
|
Coding name |
attachment
|
Position |
10
|
Type |
|
Introduced in |
Topincs 9.0.0
|
Coding name |
inline
|
Position |
11
|
Type |
|
Coding name |
debug
|
Description |
Debug SMPT protocol communication.
|
Position |
12
|
Type |
Boolean(Primitive type)
|
Default value |
false
|
|