| Methods / Send Mail |
//Sample for using Workflow.SendMail
IWFWorkflowService svc = GetWorkflowService();
try
{
// email recipients
string to = "bill@tusca.com";
// CC
string cc = "bob@tusca.com";
//Subject of the Mail
string subject = "This is email Subject";
//Body of the Mail
string body = "This email Body";
svc.SendMail(to, cc, subject, body);
}
catch (Exception ex)
{
Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex));
}