Get Expecting Send Mail Deliverable

API Type

Web Services

Description

Retrieves all the failed and scheduled to resend email notifications.

Syntax

public virtual WFMailDeliverable[] GetExpectingSendMailDeliverable()

Parameters

Name Description
None Not Applicable

Output

Array of WFMailDeliverable objects.

Example

IWFWorkflowService svc = GetWorkflowService();

try
	{
    //Returns Array of WFMailDeliverable type
    WFMailDeliverable[] mailDeliverables =
    svc.GetExpectingSendMailDeliverable();
    foreach(WFMailDeliverable m in mailDeliverables)
	   {
       Console.WriteLine("Mail ID: '{0}'", m.ID);
       Console.WriteLine("Process Instance ID: '{0}'",m.ProcInstID);
       Console.WriteLine("E-Mail Subject: '{0}'", m.Mail.Subject);
	   }
	}

catch (Exception ex)
	{
    Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex));
	}

Supported Versions

3.2.0.4 and higher