> ## Documentation Index
> Fetch the complete documentation index at: https://help.getvero.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Determine why a triggered email was or was not sent

> Use logs to diagnose why a triggered email was sent or discarded for a customer.

In Vero, behavioral and transactional emails are triggered by an `event`. Events are customer actions, tracked using Vero's API. [Learn more about events](/vero-1/event-tracking/what-are-events).

<img src="https://mintcdn.com/vero-c561507b/1JPDbTPQFGmv4Yri/images/vero-1/vero.triggered-email-example.png?fit=max&auto=format&n=1JPDbTPQFGmv4Yri&q=85&s=a00e2d684e3b95f9c85162c40b130a36" alt="vero.triggered-email-example" width="1856" height="1114" data-path="images/vero-1/vero.triggered-email-example.png" />

As you can see in the above example, triggered emails can be sent immediately or with a delay.

It is important to note that the conditions of a campaign are always evaluated **just before an email is sent**.

## Why a campaign was or was not sent

The *Logs* menu in Vero is a complete, real time history of ever customer that is identified, every action a customer triggers and ever campaign a customer receives.

As all transactional and behavioral emails are triggered by an `event`, Vero records whether a campaign was or was not sent as part of the logs for the trigger `event`. To view the emails triggered by an `event`, select *View logs* on the campaign page.

<img src="https://mintcdn.com/vero-c561507b/EXfj9Lh330gbT2Z_/images/vero-1/vero.view-campaign-logs.png?fit=max&auto=format&n=EXfj9Lh330gbT2Z_&q=85&s=fc9981878d4036b19a69fd1d970132fe" alt="vero.view-campaign-logs" width="1848" height="373" data-path="images/vero-1/vero.view-campaign-logs.png" />

Every email that was triggered by the customer triggering a specific `event` is recorded in the trigger log and its status (`sent` or `discarded`).

<img src="https://mintcdn.com/vero-c561507b/zOsbITfvP_6twbRn/images/vero-1/vero.event-data-example.png?fit=max&auto=format&n=zOsbITfvP_6twbRn&q=85&s=001adc52f3f1abbb43c7f3557f459a8a" alt="vero.event-data-example" width="2606" height="610" data-path="images/vero-1/vero.event-data-example.png" />

If marked as `discarded`, Vero will also detail why that particular email was discarded.

### Viewing the discard reason

When an email is discarded in Vero, you can typically find the reason behind the discard in the **Logs**. This can be found at the bottom of each `event` log for a customer by waving your mouse over the question mark icon.

<img src="https://mintcdn.com/vero-c561507b/WCxieQyrkRwlx_Xe/images/vero-1/vero.cloud.discardreason.png?fit=max&auto=format&n=WCxieQyrkRwlx_Xe&q=85&s=41d7c76843017b5edc500db71c6eafcb" alt="vero.cloud.discardreason" width="930" height="228" data-path="images/vero-1/vero.cloud.discardreason.png" />

### Diagnosing a log with no discard reason

Occasionally, you may run into a log that doesn't offer a discard reason.

<img src="https://mintcdn.com/vero-c561507b/WCxieQyrkRwlx_Xe/images/vero-1/vero.cloud.nodiscard.png?fit=max&auto=format&n=WCxieQyrkRwlx_Xe&q=85&s=93f5faf26dc0c697524ba860b50a44ac" alt="vero.cloud.nodiscard" width="1104" height="132" data-path="images/vero-1/vero.cloud.nodiscard.png" />

This generally occurs in the following circumstances:

* You are using a dynamic TO or FROM `email address`. You may use a dynamic email address on your campaign (ex: `{{user.billing_address}}` or `{{event.secondary_email}}`) in which upon sending the campaign the system finds that this user or event property is empty.

* You are using a dynamic attachment. You may also use a dynamic attachment on your campaign which, just like the TO or FROM address may come up empty upon sending the campaign and will cause the email to be discarded for that customer.
