| Methods / Send Mail | |
Web Services
Sends an email through AgilePoint Server.
public virtual void SendMail(String To, String CC, String Subject, String Body)
| Name | Description |
|---|---|
To |
|
CC |
|
Subject |
|
Body |
|
None.
//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));
}
3.2.0.4 and higher