Email Template

After long time friends !!!
This is a script to decode Email Template.
A sample EMail Template  ( variable – $template )is as follows :-
==================================================================

Dear Vendor,
The following  <<Client>>  has now been released for print.  Please confirm when you receive this email.

<<ConditionCheckForDisplayTitles>>

Mainstream Ref:   <<JPG Ref>>  – <<SKU>>
SKU Name:   <<SKU Name>>
Bundle Type:  <<Pack Type>>

If there is a problem with the design, Download Links or Colour Proofs – please contact: <<AccountName>>

Regards,
<<contactMail>>
<<contactPhone>>
<<contactAddress>>

====================================================================
Provided that every text within the angular braces shall constitute the same fieldname .
For Example:-<<ContactMail>> should be a field named as “ContactMail” in a table.

call this script as :-

Perform Script [Email Template Coding; $template]         ($template is the actual template)

set variable [$decodedTemplate;get(ScriptResult)]

email-template

Leave a Reply