Layton ServiceDesk - Troubleshooting - Incoming Email Overload
From Layton Support
(Difference between revisions)
m (Minor text changes) |
m (Minor text changes) |
||
Line 1: | Line 1: | ||
<p align="right">[[File:btn_back_up.png|link=User Guide for Layton ServiceDesk]] [[User Guide for Layton ServiceDesk|<u>Back to Contents</u>]]</p> | <p align="right">[[File:btn_back_up.png|link=User Guide for Layton ServiceDesk]] [[User Guide for Layton ServiceDesk|<u>Back to Contents</u>]]</p> | ||
=Bulk Delete= | =Bulk Delete= | ||
− | If you have an overload of incoming emails (e.g. a mail server suddenly | + | If you have an overload of incoming emails (e.g. a mail server suddenly sent out a torrent of mail), you can quickly eliminate all email with this SQL query, executed in Microsoft SQL Server Management Studio: |
TRUNCATE TABLE [LaytonServiceDesk].[dbo].[mailin] | TRUNCATE TABLE [LaytonServiceDesk].[dbo].[mailin] |
Revision as of 00:22, 4 May 2017
Bulk Delete
If you have an overload of incoming emails (e.g. a mail server suddenly sent out a torrent of mail), you can quickly eliminate all email with this SQL query, executed in Microsoft SQL Server Management Studio:
TRUNCATE TABLE [LaytonServiceDesk].[dbo].[mailin]
You can more selectively remove emails if there is a common element you can use, in this case, a string in the subject line:
DELETE FROM [LaytonServiceDesk].[dbo].[mailin] WHERE sys_mail_subject LIKE '%Alert%'