Destroy Selected Button in Express
Document ID: 10348
Synopsis
This document explains why we introduced this new feature and how to edit and change this to match your website needs.
More Information
This document explains why we introduced this new feature and how to edit and change this to match your website needs.
What prompted this change?
In a situation where quotas are enabled, the end-user has the option to move deleted messages to the 'Deleted Items' folder and can quickly reach their limit without realizing it as these messages are still stored and not truely removed.
In previous versions of MailSite, when this happened and the user deleted a message which would put them over quota, the message would be permanently removed, but not be moved to the 'Deleted Items' folder. This behavior was not desirable for many customers.
The Change Implemented to Resolve this Issue
We addressed the situation above, which left us with the situation where if you have a quota limit of 10MB and the account received an e-mail of 6MB then that acount was not over its quota. When trying to delete the message the user would see an error message saying that they have gone over quota and not be able to delete this message. This occured because the move of the message to the 'Deleted Items' folder performs a copy of the message before deleting the original message. Hence the user would be over the quota limit for a short period of time.
To resolve this issue we introduced a new button called 'Destroy Selected'. This button introduces the flexibility to send to the 'Deleted Items' folder or permanently delete a message or messages.
How to Change the Button to fit into your Website Configuration
It is possible to configure the button to say something different if so desired.
To change the wording on the button you need to edit the language file/s in use for your system which can be found under:
- ..\MailSite\Express\Web\Languages\
Then in the asp file (e.g english.asp) you will need to change the text for the variable lngButtonDestroy (line 563 for english.asp) to the wording of your choice.
How to Disable the Button
There is also an option to disable the button from being shown in the Express Inbox screen. Follow these steps to remove this new button from the Inbox screen:
- Within mailsite\express\web\expresscfg.asp the default for item 14.6 is set to 'True' to display the button. To hide/disable you need to edit item 14.6, line 156 and change the value from 'True' to 'False'
NOTE: By Disabling this button this will result in a return of the issue that the button was designed to resolve: "user is unable to delete mail from an over-quota mailbox when the trash folder option is enabled." and as such is not recommended.