A case of custom email templates not used when alerts are created from code in SharePoint

Recently, I had a case where customer was creating SPAlert object using SharePoint object model code and things were not working out well. What seem to happen was that whenever the condition that warrants alert trigger is met (e.g., an item is changed in a list), the alert email that was sent out was not…

0