xp_sendmail « System Settings « SQL Server / T-SQL Tutorial






26.46.xp_sendmail
26.46.1.sends an email when an insert or delete occurs on the discounts table.