Add

Adds a new email to your account and returns an initialized object

Syntax

Add(1)

Function Properties

OrdinalTypeDescription
1objectRequiredJSON object containing new email properties

This sample code adds an email to your account:

The CategoryID value in the above code sample assigns the new email message to a specific folder. To save the new email message to the default folder in your account, remove the CategoryID value entirely.