createScheduledEmail()
Beta API. Mostly stable, but details may change in a minor release, outside SemVer.
Creates the CreateScheduledEmail command.
Dispatching this command will result in the creating scheduled email on the backend.
export declare function createScheduledEmail(scheduledEmail: IAutomationMetadataObjectDefinition, correlationId?: string): ICreateScheduledEmail;
Parameters
Parameter | Type | Description |
|---|---|---|
scheduledEmail | specify scheduled email to create. | |
correlationId | string | (Optional) specify correlation id to use for this command. this will be included in all events that will be emitted during the command processing |
Returns