Create an Email Send Definition

This page shows how to create an Email Send Definition that uses data extensions to send emails.

Why Create an Email Send Definition

You can use the SOAP API to handle all aspects of the email send definition, including calling information from an existing data extension. This allows you to send an email directly from your development environment or other system.

How To Create an Email Send Definition

You can use the sample code to set up your call to create an email send definition. The code uses the following API calls:

  1. Create email send definition
  2. Perform call to send email using data from data extension

Set up those calls to match your system and add the appropriate code to retrieve the necessary information for your send.

Sample .NET Code - Retrieve Send Classifications for Email Send Definition

Sample .NET Code - Bind a Publication List to an Email Send Definition

Sample Jave Code (Axis 1.4) - Start an Email Send Definition with SOAP API

Sample PHP Code

Sample Ruby on Rails Code

Sample Java Code (Axis 1.4)

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