---
title: Writing static campaign emails
related:
  - https://docs.kentico.com/k82/on-line-marketing-features/email-marketing/working-with-email-campaigns/creating-static-campaign-emails.md
  - https://docs.kentico.com/k82/on-line-marketing-features/email-marketing/working-with-email-campaigns/preparing-email-campaign-templates.md
  - https://docs.kentico.com/k82/configuring-kentico/configuring-smtp-servers.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).

After you [create a static email campaign](https://docs.kentico.com/k82/on-line-marketing-features/email-marketing/working-with-email-campaigns/creating-static-campaign-emails.md) and acquire subscribers, you can send out individual emails. The following steps demonstrate how to create a sample email:

1. Open the **Email marketing** application.
2. **Edit** () an email campaign.
3. Click **Create new email**.
4. Fill in a **Subject**.
5. Fill in your text into **content**.
6. (Optional) Add a condition, such as the reader's first name, using the **Insert macro**  button in the editor toolbar.

   1. An **Insert Macro** dialog opens.

      ![Inserting macro into an email](https://docs.kentico.com/docsassets/k82/writing-static-campaign-emails/inserting_macro.png "Inserting macro into an email")

      > **Info:** The system automatically replaces the _{% FirstName %}_ macro expression with the email recipient's first name.

      ![Macro in an email](https://docs.kentico.com/docsassets/k82/writing-static-campaign-emails/writing_static_emails.png "Macro in an email")

      > **Note:** **Email templates**
      >
      > The overall structure of this email is defined by the default _Email template_, which you can find in the **Templates** tab of the **Email marketing** application. See [Preparing email campaign templates](https://docs.kentico.com/k82/on-line-marketing-features/email-marketing/working-with-email-campaigns/preparing-email-campaign-templates.md) for more information.
      >
      > Email campaigns can have multiple templates assigned. In this case, expand **Show advanced options** next to the **Subject** field, where you can choose a template for the new email. You can also change the template by clicking **Show advanced properties** next to the **Subject** field and selecting a different option through the **Template** selector.
7. Click **Save**.

   > **Info:** Once you save the email, you can manage it using the following actions:
   >
   > - **Send draft** - allows you to send a test draft of the email to any email address. Draft emails do not correctly resolve email macros (such as unsubscription links), since the recipients are not linked to subscribers in the system.
   > - **Preview** - opens a dialog window where you can view how the email will appear to specific subscribers.
   > - **Attachments** - allows you to attach files to the email, such as images, an event agenda, white papers, etc. The attachments will be included in the emails when they are sent out. Please note that other attachments may already be included in the template on which the email is based.
   > - **Create A/B test** - may be used to prepare an A/B test for the email. This allows you to create several different versions of the email, evaluate them on a test group of subscribers and then send out the most successful one. Clicking this button adds the first testing variant of the email. See [A/B testing email campaigns](https://docs.kentico.com/k82/on-line-marketing-features/email-marketing/a-b-testing-email-campaigns.md).

## Previewing and sending the email

1. Click **Preview**.

   - This opens a dialog where you can see how the content of the email will appear for each subscriber.

![Previewing an email](https://docs.kentico.com/docsassets/k82/writing-static-campaign-emails/previewing_email.png "Previewing an email")

2. **Close** the preview dialog.
3. Switch to the **Send** tab.
4. Choose when the system sends out the email:

   - **Send now to all subscribers** - the email is sent out immediately to all subscribers.
   - **Schedule email campaign mail-out to all subscribers** - the mail will be sent out on the specified date and time.
   - **Send draft email to specified email addresses** - the email will not be sent for now and you can decide on the mail-out time later.
5. Click **Finish**.

On the **Emails** tab, you can review the statistics and details of the emails. You can modify emails that are scheduled to be sent out in the future by clicking **Edit** ().

> **Tip:** If you experience problems with receiving emails, try following the instructions on the [Troubleshooting email campaigns](https://docs.kentico.com/k82/on-line-marketing-features/email-marketing/working-with-email-campaigns/troubleshooting-email-campaigns.md) page.
