Update

Overview 

Updates an email based on the specified criteria.

Syntax 

Update(1)

Function Properties 

OrdinalTypeDescription
1stringRequiredCriteria used to search for email

Example 

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

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