Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I don't want to set list alerts when items created or changed.

I want to send email(including alert template and all fields in item) to that user which not configured in sharepoint.

My function for sending email is

StringDictionary headers = new StringDictionary();
headers.add("to","toaddress@abc.com");
headers.add("from","fromaddress@abc.com");
headers.add("subject","List Item with alert template");
headers.add("content-type","text/html");
string body="alert template with all fields in item";
SPUtility.SendEmail(web, headers, body);

does any one know how to get default alert template with items in body part using visual studio?

so i can send email alert template with items.

Thanks..

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.