---
title: Troubleshooting marketing emails on MVC sites
related:
  - https://docs.kentico.com/13/on-line-marketing-features/managing-your-on-line-marketing-features/email-marketing.md
  - https://docs.kentico.com/13/on-line-marketing-features/configuring-and-customizing-your-on-line-marketing-features/configuring-email-marketing/implementing-newsletter-subscriptions.md
  - https://docs.kentico.com/13/on-line-marketing-features/configuring-and-customizing-your-on-line-marketing-features/configuring-email-marketing/enabling-marketing-email-tracking.md
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

This page summarizes common [email marketing](https://docs.kentico.com/13/on-line-marketing-features/managing-your-on-line-marketing-features/email-marketing.md) problems that may occur in the interactions between the Xperience administration application and the MVC live site application.

> **Info:** For general marketing email troubleshooting, not specifically related to MVC sites, see: [Troubleshooting marketing emails](https://docs.kentico.com/13/on-line-marketing-features/configuring-and-customizing-your-on-line-marketing-features/configuring-email-marketing/troubleshooting-marketing-emails.md)

## Unavailable MVC website

Before you send out marketing emails, verify that your MVC website is:

- **Running**
- **Accessible** publicly and from the Xperience administration application that you use to manage your email feeds (make sure the connection is not blocked by a firewall, etc.)

Otherwise, email content and functionality that interacts with the site will not be available, for example, unsubscription links or email tracking features.

If the site is not accessible, please contact your system's administrator.

## Incorrect email feed URLs

Some of the email marketing features need to interact with your MVC site to work. Problems can occur if the required features are not implemented or registered correctly on your MVC site, or if the related URLs are not configured correctly in Xperience.

> **Info:** The **Email marketing** application in the administration interface automatically displays a warning if the related URLs are not accessible for an email feed (on the **Emails** tab of the email feed and the **Send** tab of individual emails).

### Unsubscription page URL

Verify that your MVC site has an email feed unsubscription page implemented according to the instructions in [Setting up unsubscription.](https://docs.kentico.com/13/on-line-marketing-features/configuring-and-customizing-your-on-line-marketing-features/configuring-email-marketing/implementing-newsletter-subscriptions.md#setting-up-unsubscription)

Then make sure the unsubscription URL of your email feeds is correctly configured:

1. Open the **Email marketing** application in Xperience.
2. Edit your email feed and switch to the **Configuration** tab.
3. Set the following properties:

   - **Base URL** – the base URL of your live site. Leave empty to use the site's _Presentation URL_. For example: _https://www.SiteDomain.com_
   - **Unsubscription page URL** – must match the route of the action that handles unsubscription requests in your MVC application. For example:  _/NewsletterSubscription/Unsubscribe_

     > **Info:** If the _Unsubscription page URL_ value is empty for an email feed, the system uses the URL assigned in the **Settings -> On-line marketing -> Email marketing -> Unsubscription page URL** setting.
4. **Save** the email feed.

### Double opt-in approval page URL

If [double opt-in](https://docs.kentico.com/13/on-line-marketing-features/configuring-and-customizing-your-on-line-marketing-features/configuring-email-marketing/enabling-double-opt-in-for-newsletters.md) is enabled for your newsletters, your MVC site must have a subscription confirmation page implemented according to the instructions in [Handling confirmations for double opt-in subscription.](https://docs.kentico.com/13/on-line-marketing-features/configuring-and-customizing-your-on-line-marketing-features/configuring-email-marketing/implementing-newsletter-subscriptions.md#handling-confirmations-for-double-opt-in-subscription)

Also, verify that the approval page URL of your newsletters is correctly configured:

1. Open the **Email marketing** application in Xperience.
2. Edit your newsletter and switch to the **Configuration** tab.
3. Set the following properties:

   - **Base URL** – the base URL of your live site. Leave empty to use the site's _Presentation URL_. For example: _https://www.SiteDomain.com_
   - **Approval page URL** – must match the route of the action that handles subscription confirmation requests in your MVC application. For example: **\~/NewsletterSubscription/ConfirmSubscription**

     > **Info:** If the _Approval page URL_ value is empty for a newsletter, the system uses the URL assigned in the **Settings -> On-line marketing -> Email marketing -> Double opt-in approval page URL** setting.
4. **Save** the newsletter.

### Email tracking URLs

If you have [tracking](https://docs.kentico.com/13/on-line-marketing-features/managing-your-on-line-marketing-features/email-marketing/tracking-marketing-emails.md) features enabled for your email feed (opened emails and clicked links), verify the following:

- The **Presentation URL** of your site or one of its aliases in the **Sites** application matches the domain name of the running MVC website.
- Your MVC application has the email tracking feature enabled according to the instructions in [Enabling marketing email tracking](https://docs.kentico.com/13/on-line-marketing-features/configuring-and-customizing-your-on-line-marketing-features/configuring-email-marketing/enabling-marketing-email-tracking.md).
