Skip to content

Instantly share code, notes, and snippets.

@hpcorona
Created October 28, 2011 21:29
Show Gist options
  • Save hpcorona/1323614 to your computer and use it in GitHub Desktop.
Save hpcorona/1323614 to your computer and use it in GitHub Desktop.
Template is string = [
Hi Mr. ${Customer.Name}, Your product ${Product.Name} has ben fixed!
]
Variables is associative array of strings
Variables["Customer.Name"] = "Hilario Perez"
Variables["Product.Name"] = "HP Laptop"
Email is string = TemplateBuild(Template, Variables)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment