LassoScript Utility
Basics Browse Detail


Tag Link [Email_Merge] Category Email
Type Substitution Source Available Yes
Support Preferred Version 8.5
Change New Data Source Any
Output Type String Security None
Implementation LassoScript Sets Lasso 8.5


[Email_Merge] is a helper tag which performs an email merge operation on the headers and body of an email message.

The tag requires two parameters: -Data specifies the full MIME encoded data of the email message. -Tokens specifies a map which defines values for tokens within the data. Optional parameters include -TransferEncoding and -Charset which specify whether quoted-printable encoding should be applied to merged tokens and with what character set.

The data must include the output of one or more [Email_Token] tags in order for the merge operation to happen. If no tokens are seen then the data is returned unchanged.


[Email_Merge: $myEmailCompose->Data, -Tokens=(Map: 'token'='value')]


Required Parameters
-Data The raw MIME encoded data of an email message.
-Tokens A map containing token names and values whcih will be merged into the data.
Optional Parameters
-Charset Optional character set for quoted-printable encoding (defaults to UTF-8).
-TransferEncoding Optional parameter specifying whether quoted-printable encoding should be performed on the tokens inserted into the email message.


See the Lasso 8 Language Guide for examples of how to use this tag.