Lasso Soft Inc. > Home

[Email_Compose->AddAttachment]

[Email_Compose-> AddAttachment] adds a new attachment to a message being composed. The tag requires two parameters: the first parameter should specify the data of the file to be attached. This data will be automatically Base64 encoded before being placed in the message. The second parameter is a -Name which specifies the name of the attached file.

An optional -Path parameter can be used to specify the name of a file that will be included as the attachment. If the -Path parameter is specified then the -Name will be automatically set to the name of the included file.

  • Syntax
  • Parameters
[Email_Compose->(AddAttachment: 'data', -name='attached.txt')]

[Email_Compose->(AddAttachment: -Path='include.txt')]
Optional Parameters
-Path The path to a file to be included as the attachment. If -Path is specified then neither -Data or -Name is required.
-Data The data of the file to be attached. This data will be automatically base 64 encoded.
-Name The name of the attached file. Required if -Data is specified. Optional if -Path is specified.
Examples

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

Tag Link [Email_Compose->AddAttachment] Category Email
Type Member Data Source Any
Support Preferred Version 8.0
Output Type None Security Tag
Implementation LDML Sets Lasso 8.5, Lasso 8.0

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