---
title: "EXM Dispatch"
slug: "exm-dispatch"
abstract: "Overview of Sitecore EXM Dispatch supported infrastructure, references, scaling, and security and privacy."
---
# EXM Dispatch

The EXM Dispatch role is a [Core role](https://doc.sitecore.com/xp/en/developers/91/platform-administration-and-architecture/roles-overview.html#UUID-3d5ae957-44cf-15ab-74af-eb4c1e3ebc1a_section-idm83100961827626 "Core roles") that has been configured to generate emails and dispatching them to the email message transfer agent (MTA).

> [!note]
> The EXM Dispatch role cannot run as a standalone role but must be combined with the [Content Management](https://doc.sitecore.com/xp/en/developers/91/platform-administration-and-architecture/content-management--cm-.html "Content Management (CM)") role. In configuration files, the EXM Dispatch role must be defined as "DedicatedDispatch".

<details>
<summary><h2>Supported infrastructure</h2></summary>

You can host the EXM Dispatch role on:

- IIS
- [Azure App Service](https://azure.microsoft.com/en-us/services/app-service/)

Refer to the [Sitecore compatibility table](https://kb.sitecore.net/articles/087164) for compatible versions.

</details>

<details>
<summary><h2>Reference structure</h2></summary>

The EXM Dispatch role has its place in the Sitecore reference structure. It can be referenced by other roles, and it can also reference other roles.

![Illustration showing the EXM Dispatch role's place in the Sitecore reference structure.](https://doc.sitecore.com/api/markdown-image/xp/en/developers/91/platform-administration-and-architecture/images/exm-dispatch.png)

### Referenced by

The EXM Dispatch role is referenced by the following roles:

- [Content Management](https://doc.sitecore.com/xp/en/developers/91/platform-administration-and-architecture/content-management--cm-.html "Content Management (CM)")

### References

The EXM Dispatch role references the following roles:

#### Storage roles

| Role name | Connection string name | Port | Type | Notes |
| --- | --- | --- | --- | --- |
| [Master database](https://doc.sitecore.com/xp/en/developers/91/platform-administration-and-architecture/master-database.html) | master | 1433 | SQL |  |
| [Core database](https://doc.sitecore.com/xp/en/developers/91/platform-administration-and-architecture/core-database.html) | core | 1433 | SQL |  |
| [Security database](https://doc.sitecore.com/xp/en/developers/91/platform-administration-and-architecture/security-database.html) |  |  |  |  |
| [Message Bus](https://doc.sitecore.com/xp/en/developers/91/platform-administration-and-architecture/message-bus.html) | messaging | 1433 | SQL |  |
| [EXM database](https://doc.sitecore.com/xp/en/developers/91/platform-administration-and-architecture/exm-database.html) | exm.master | 1433 | SQL |  |

#### Application roles

| Role name | Connection string name | Port | Type | Notes |
| --- | --- | --- | --- | --- |
| [xConnect Collection Search service](https://doc.sitecore.com/xp/en/developers/91/platform-administration-and-architecture/xconnect-collection-search-service.html) | xconnect.collection | 443 | HTTPS | The [xConnect Collection Search service](https://doc.sitecore.com/xp/en/developers/91/platform-administration-and-architecture/xconnect-collection-search-service.html) acts as a [xConnect Collection service](https://doc.sitecore.com/xp/en/developers/91/platform-administration-and-architecture/xconnect-collection-service.html) for the role |
| [Reference Data service](https://doc.sitecore.com/xp/en/developers/91/platform-administration-and-architecture/reference-data-service.html) | xdb.referencedata.client | 443 | HTTPS |  |
| [Authoring](https://doc.sitecore.com/xp/en/developers/91/platform-administration-and-architecture/authoring.html) | N/A - see notes | 5000 | HTTPS | Service url is configured in the `<content management root>\App_ConfigIncludeY.Commerce.Engine\Sitecore.Commerce.Engine.Connect.config` |

The following client certificates are required in a secure production environment:

| Role | Connection string name | Type | Notes |
| --- | --- | --- | --- |
| [xConnect Collection service](https://doc.sitecore.com/xp/en/developers/91/platform-administration-and-architecture/xconnect-collection-service.html) | xconnect.collection.certificate | Certificate |  |
| [Reference Data service](https://doc.sitecore.com/xp/en/developers/91/platform-administration-and-architecture/reference-data-service.html) | xdb.referencedata.client.certificate | Certificate |  |

#### Search indexes

The Content Search provider determines how the Content Delivery role connects to the indexes. Sitecore supports Azure Search, Solr and Lucene.

> [!note]
> Lucene is recommended for developer environments only and not recommended or supported in a production environment.

| Index | Port, Solr | Port, Azure Search | Type | Notes |
| --- | --- | --- | --- | --- |
| [Master index](https://doc.sitecore.com/xp/en/developers/91/platform-administration-and-architecture/master-index.html) | 8983 | 443 | HTTPS |  |
| [Core index](https://doc.sitecore.com/xp/en/developers/91/platform-administration-and-architecture/core-index.html) | 8983 | 443 | HTTPS |  |
| [Master Marketing Definitions index](https://doc.sitecore.com/xp/en/developers/91/platform-administration-and-architecture/master-marketing-definitions-index.html) | 8983 | 443 | HTTPS |  |
| [Master Marketing Assets index](https://doc.sitecore.com/xp/en/developers/91/platform-administration-and-architecture/master-marketing-assets-index.html) | 8983 | 443 | HTTPS |  |

For more information, see:

- [Choosing the right search provider](https://doc.sitecore.com/xp/en/developers/91/platform-administration-and-architecture/using-solr,-lucene,-or-azure-search.md "Using Solr, Lucene, or Azure Search")
- [Configure Azure Search provider](https://doc.sitecore.com/xp/en/developers/91/platform-administration-and-architecture/walkthrough--configure-azure-cognitive-search.html "Walkthrough: Configure Azure Cognitive Search")
- [Configure Solr provider](https://doc.sitecore.com/xp/en/developers/91/platform-administration-and-architecture/walkthrough--setting-up-solr.html "Walkthrough: Setting up Solr")

#### Cloud Services

| Role Name | Port | Type | Endpoint URL |
| --- | --- | --- | --- |
| [E-mail Cloud](https://doc.sitecore.com/xp/en/developers/91/platform-administration-and-architecture/email-cloud.html) | 443 | HTTPS | Multiple endpoints |

For more information, see:

- [Setting up EXM Delivery Cloud](https://doc.sitecore.com/xp/en/developers/exm/91/email-experience-manager/use-the-exm-delivery-cloud-service.html)

</details>

<details>
<summary><h2>Security and privacy</h2></summary>

The EXM Dispatch role handles personal data in the following ways:

- Reads contact data from the [xConnect Collection Search service](https://doc.sitecore.com/xp/en/developers/91/platform-administration-and-architecture/xconnect-collection-search-service.html "xConnect Collection Search service") and uses that data to generate e-mails.
- Shares the same privacy concerns as the [Content Management](https://doc.sitecore.com/xp/en/developers/91/platform-administration-and-architecture/content-management--cm-.html "Content Management (CM)") role.

</details>