I have a trigger on a table writing to a custom table. I would like an email sent when a record is added to this table. I believe there will also need to be an EmailSent flag added to the custom table to ensure records are only sent the once.
Asked
Active
Viewed 330 times
1 Answers
0
Setting up a database mail first, then add a trigger for sending an email include new record and update EmailSent flag. Here is an example for SQL server: Send e-mail from a trigger

Shawn Li
- 1
- 1