Lasso Soft Inc. > Home

[ email_merge ]

Method

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

The method 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] methods in order for the merge operation to happen. If no tokens are seen then the data is returned unchanged.
 

  • Syntax
Email_Merge(
    $myEmailCompose->Data,
    map('token'='value')
)

Email_Merge(
    $myEmailCompose->Data,
    map('token'='value'),
    'charset',
    'transferencoding'
)
Examples

No examples found

Recent Comments

">

Posted on: 19 August 2019

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