Tag Link | [Email_Compose] | Category | |
---|---|---|---|
Type | Substitution | Source Available | Yes |
Support | Preferred | Version | 8.0 |
Change | Unchanged | Data Source | Any |
Output Type | None | Security | None |
Implementation | LDML | Sets | Lasso 8.5, Lasso 8.0 |
[Email_Compose] allows an email message to be composed. For most purposes the [Email_Send] tag itself provides enough email composition options, but the [Email_Compose] object can be used if more control is needed. The output of this tag is usually passed to [Email_Queue] or [Email_Immediate] for sending.
[Email_Compose] accepts the same parameters as [Email_Send] including
The
In addition, the type supports four tags that allow individual parts to be added to the message. [Email_Compose->AddTextPart] adds a text part to the message (accepts the text to add or a
The type also supports four member tags that are used by the [Email_Queue] or [Email_Immediate] tags. These include [Email_Compose->Recipients], [Email_Compose->Data], [Email_Compose->From], and [Email_Compose->Summary]. These tags are not usually called directly.
[Var: 'Msg' = (Email_Compose: ...)]
[Email_Immediate:
Required Parameters | |
---|---|
-To | The email address of primary recipient of the email message. |
-From | The email address of the person who sent the email message. |
-Subject | The subject of the email message. |
-Body | The plain |
Optional Parameters | |
-HTML | Optional HTML part of the email message. |
-Cc | Optional carbon |
-Bcc | Optional blind carbon |
-Date | Optional date for the email message (defaults to today). |
-Sender | Optional sender for the email message. |
-ReplyTo | Optional reply |
-ContentType | Optional content |
-CharacterSet | Optional character set for the email message. |
-TransferEncoding | Optional transfer encoding for the email message. |
-ContentDisposition | Optional content |
-ExtraMIMEHeaders | Optional array of name/value pairs representing extra MIME headers for the email message. |
-Attachments | Allows a file to be attached to an email message. Accepts either a file path, a pair including a synthetic file name and the raw data of the file, or an array of file names and pairs. |
-HeaderType | Sets the header type to quoted |
-HTMLImages | Allows an HTML image to be embedded in the HTML part of an email message. Accepts either a file path, a pair including a synthetic file name and the raw data of the image, or an array of file names and pairs. |
See the Lasso 8 Language Guide for examples of how to use this tag.