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

im new to sharepoint. im trying to make a state machine workflow with a function to send email notification to user and checker (basically to check the file uploaded). somehow im stuck when using send email tool in vs2010. i have found a possible solution by using something like this "createTask1.TaskProperties.SendEmailNotification = true;". will you be kind enough to give suggestion or simple to understand tutorial on how to solve this problem

share|improve this question
add comment

1 Answer 1

One solution is to use the SPUtility.SendEmail, if you're developing the workflow yourself.

Example:

SPUtility.SendEmail(SPContext.Current.Site.OpenWeb(), true, false, "mail@mail.com", "Hello, this is Steve mailing you");
share|improve this answer
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.