Sends SMTP mail messages.
Syntax
Smartsite SXML | Copy Code |
---|---|
<se:sendmail> <se:parameters> <se:parameter name="subject"> </se:parameter> </se:parameters> </se:sendmail> |
Parameters
Name | Data Type | Properties | Description |
---|---|---|---|
Attachments | Collection | - | Sets the attachments. Attachments are loaded from disk. |
Bcc | String |
Trim
|
Sets the address(es) to send blind carbon copies of the message to. |
Body | String |
Trim
Default |
Sets the body text of the message. |
BodyIsHtml | Boolean | - | Sets a value indicating whether the body is HTML. |
CC | String |
Trim
|
Sets the address(es) to send carbon copies of the message to. |
EmbeddedResources | Collection | - | Sets the embedded resources. Embedded resources are added embedded in the mail and can be referenced from within e.g. the image element in html. |
From | String |
Trim
|
Sets the sender of the message. |
HtmlBody | String | - | Sets the HTML body. |
InlineAttachments | Collection | - | Sets the inline attachments. Inline attachments are mail attachments whose content is not stored on disk but is available in Sxml. |
Port | Integer | - |
Sets the port. If no port is given, the default SMTP port (25) will be used. |
Priority | Enum | - |
Sets the priority. Enum values:
|
ReplyTo | String |
Trim
|
Sets the address(es) to reply the message to. |
Server | String |
Trim
|
Sets the SMTP server name to use. |
Subject | String |
IsRequired
|
Sets the subject of the mail message. |
To | String |
Trim
|
Sets the address(es) to send the message to. |
Shared Parameters
Local Viper Methods
Viper | Extension | Description |
---|---|---|
This.ClearForcedResult |
Sets the result of the macro. used to override the normal handling of the result creation. |
|
This.GetForcedResult | Gets the forced result of the macro, set by overriding the normal rendering using SetForcedResult(). | |
This.RenderTime | ✓ | Returns the render time of the macro in milliseconds. |
This.SetForcedResult |
Sets the result of the macro. used to override the normal handling of the result creation. |