I have created a Sharepoint custom Sequential workflow. I have to use the SendEmail activity to send an alert at various steps. I tried the following code:
this.sendalertEmail.To = "[email protected]";
this.sendalertEmail.From = "[email protected]";
this.sendalertEmail.Subject = "Regarding email";
this.sendalertEmail.Body = @"This is an automated email <b>response</b>";
i have configured teh outgoing settings in my server with Smtp server and other details.
it says "The e-mail message cannot be sent. Make sure the outgoing e-mail settings for the server are configured correctly." please help