1

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..

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.