Delete
The Delete Mail Template functionality allows the user to permanently remove a mail template from the system.
When the Delete button is clicked from the Actions column in the template list:
-
A confirmation popup opens up.
- The popup contains two buttons:
- Cancel → Closes the popup without making any changes.
- Delete → Permanently deletes the selected mail template.
- The popup contains two buttons:
-
Once the Delete button is clicked:
- The mail template is removed from the database.
- The list view is refreshed to reflect the deletion.
SQL Query
-- SQL query for deleting the template will go here
--