Lasso Soft Inc. > Home

[Email_Merge]

[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.

  • Syntax
  • Parameters
[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.
Examples

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

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

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft