Update

Overview

Updates an email based on the specified criteria.

Syntax

Update(1)

Function Properties

<!--complex table-->
Ordinal Type Description
1 string Required Criteria used to search for email

Example

This sample code updates the Name and Subject attributes of the email to the specified value:

var myEmail = Email.Init("myEmail");
var status = myEmail.Update({ "Name": "Updated Name", "Subject" : "Updated Email Subject" });