---
title: Archive Mode
url: "https://b13.com/products/mail-queue-for-typo3/documentation/archive-mode"
date: 2026-09-12
modified: 2026-09-25
lastUpdated: 2026-09-25
---

# Archive Mode

![Envelope icon with a circular arrow, indicating the action of replying to an email, set against a gradient background.](https://b13.com/fileadmin/_processed_/1/7/csm_sharing-ext-mail-queue-S_91a8e0ced6.webp)

 Documentation
===============

 TYPO3 Extension “Mail Queue”
 Version 1.7.0 (2026-09-12)

  With `archiveMode` enabled, **all** sent mails are kept in the queue table, including their content, until the sent retention removes them.

That answers the classic support question—"was the license mail actually sent, and with which content?"—and it enables re-sending any mail from the [backend module](https://b13.com/products/mail-queue-for-typo3/documentation/backend-module) with one click.

     Copy

```
$GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['mail_queue']['archiveMode'] = 1;
```

  The setting is also available under Settings → Extension Configuration → `mail_queue`.

   Data Protection
-----------------

The archive contains personal data and full mail contents. Three things follow, and none of them is optional:

- Keep `sentRetentionDays` deliberately short. The default is 30 days, which is already generous for an archive that holds password reset mails.
- Grant the module only to trusted users. See [Access Levels](https://b13.com/products/mail-queue-for-typo3/documentation/backend-module#c12506) for how to delegate it without handing out the destructive controls.
- Mention the retention in the instance’s privacy documentation.

   Disk and Table Growth
-----------------------

Archive mode changes what "sent" costs you. Without it, a delivered mail's payload is dropped immediately. With it, every sent mail keeps its content until `sentRetentionDays` expires—**in the table, and for mails with attachments also as a file in `var/mailqueue/`.** Archive mode is therefore the one setting that makes a successful delivery consume disk.

On an instance that sends a lot of mail, check the size of `tx_mailqueue_message` and of `var/mailqueue/` after the first retention cycle and adjust from there.

 Archive Mode