Hi,
One fine day, I accidentally executed a TSQL that had infinite loop and each loop triggered an email using sp_send_dbmail. As a result, 16K emails jammed my email account. I was wondering if there's a trap at the SQL Server engine that can trap this. Or some sort f mail queue monitoring ?
Any insight ? TIA !