> For the complete documentation index, see [llms.txt](https://dexcore.gitbook.io/guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dexcore.gitbook.io/guide/dexcore-guide-zh/modules/outlook-hotmail/features/delete-message.md).

# Delete Messages

This function deletes all messages on the account.

{% hint style="success" %}
**Recommended:** Use this function only when a Recovery Email is already set on the account. This way, the bot can automatically confirm the deletion when Outlook asks for recovery email verification.
{% endhint %}

***

## 🗹 Auto Confirm Recovery

When Outlook asks you to enter the name of the linked recovery email (as a security check), this setting allows the bot to fill it in automatically.

If this option is **disabled**, the bot will skip the account when prompted.

***

## Common Mistakes

{% hint style="danger" %}

* ❌ Running Delete Messages without a Recovery Email set — the bot will skip accounts that require confirmation
* ❌ Disabling "Auto Confirm Recovery" when your accounts have recovery emails set — the bot will skip them unnecessarily
  {% endhint %}
