Create, Perform, and Delete Email Send Definitions

This page contains information about creating, performing, and deleting email send definitions.

Why Create, Perform, and Delete Email Send Definitions

You can use email send definitions to send emails via the SOAP API. Email send definitions are known as email message interactions in Marketing Cloud. This helps you maintain a integration between your external system or development environment and Marketing Cloud

How to Create, Perform, and Delete Email Send Definitions

Use the sample code below as a model for creating your own API calls related to email send definitions.

When you update a user-initiated send definition via the SOAP API with the Email object, you must set the EmailSubject property on the email send definition. If you don't pass the new subject to the email send definition, it retains the old subject for that definition.

Sample .NET Code - Create Email Send Definition

Sample .NET Code - Perform an Email Send Definition

Sample .NET Code - Start an Email Send Definition with API

Sample PHP Code - Create an Email Send Definition

Sample PHP Code - Perform an Email Send Definition

Sample Ruby on Rails Code

Sample Java Code (Axis 1.4)

Sample Java Code (Axis 1.4) - Retrieve Send Classifications for Email Send Definition

Sample Create SOAP Envelope

Sample Perform SOAP Envelope

Sample Delete SOAP Envelope

SOAP Request to Create an Email Send Definition

SOAP Response to Request to Create an Email Send Definition

SOAP Envelope to Create an Email Send Definition Using Profile Attributes and a Data Filter to Create an Audience

SOAP Request for Starting Email Send Definition

SOAP Response for Starting Email Definition

SOAP Request to Update Email Send Definition

SOAP Request to Update Email Send Definition with New Subject

Email Message Interactions