# Purging mail queues

{% hint style="info" %}
**Purge all undelivered mail**

You can purge all undelivered broadcast, funnel, and transactional mail in the backend customer account table.
{% endhint %}

**Click customers -> Customer Accounts**

<div align="left"><figure><img src="/files/CdfexL7ABMcNr6GkM2NI" alt="" width="368"><figcaption></figcaption></figure></div>

**Check the customer account whose mail you want to purge:**

<div align="left"><figure><img src="/files/eYwmQGaJ8uAXINO0oxBk" alt="" width="283"><figcaption></figcaption></figure></div>

**Use the action menu to purge mail queues:**

![](/files/kvDy2iCoZ1Krsf590g0M)

{% hint style="warning" %}
**The most reliable way to cancel a broadcast in progress is always to purge broadcast mail from the backend customer account menu.**
{% endhint %}

{% hint style="danger" %}
Clicking "Cancel" in the Actions button from the broadcast page will cancel a broadcast sent through Velocity MTA, but may not be able to cancel a broadcast sent through an API or SMTP Relay connection depending on the state of the data transfer at that time.
{% endhint %}

![](https://d2x3xhvgiqkx42.cloudfront.net/e0384b56-4f90-47bf-9077-d8a44f0eb175/2a05d828-eb35-44b0-9b70-bfc4c7204e36/2018/12/16/9664ba12-6734-4a10-ba61-0a8d157d34c8.png)

{% hint style="info" %}
To manage Velocity MTA mail queues see the [MTA documentation](/docs/velocity-mta-continuing-education/complaint-feedback-loops.md).
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.emaildelivery.com/docs/backend-administration/purging-mail-queues.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
