I've built a workflow in VS. The wf contains a 'Create Task' and assigned to a group. When I run the wf an email is recieved and all works.
I then added a 'send email' actitivity and used the following parameters in the code block :
SendEmailResponse.To = "Credit Approvers";
SendEmailResponse.From = @"somecompany\itmanager";
SendEmailResponse.Subject = "Expense Report Approved";
SendEmailResponse.Body = "Your Expense Report: ";
Now when I run I always get an error :
The e-mail message cannot be sent. Make sure the outgoing e-mail settings for the server are configured correctly.
I've also tried specific email addresses rather than groups but continue to get this message. I've tried various corelation tokens also.
If I get the email through ' create task' then could a problem still exist with the out-going email settings as in the error message?