Delete messages permanently

The plugin allows for permanent deletion of email message, skipping the Trash folder.

The code here was neither developed nor fully tested by AfterLogic.
It's not supported in any way. Use it at your own risk.

The plugin is available at:

Original forum thread:

Upon downloading and extracting plugin package content, you'll need to deploy the plugin so that its index file is available at the following location:


To enable and configure the plugin, add the following to array defined in data/settings/config.php file:

'plugins.delete-permanently' => true,

If you'd like to change the Trash folder images used in the plugin, modify lines 39-40 in delete-permanently/js/include.js file, open_trash and close_trash contain the base64 encoded PNGs.

Plugin provides debug logging, logs of the product are used for this purpose directly.