ResolveRecipientsResponse

ResolveRecipientsResponse class

Contains information as to whether the recipient was resolved. If the recipient was resolved, the it also contains the type of recipient, the email address that the recipient resolved to, and, optionally, the S/MIME certificate for the recipient.

public class ResolveRecipientsResponse

Constructors

Name Description
ResolveRecipientsResponse() The default constructor.

Properties

Name Description
RecipientCount { get; set; } Specifies the number of recipients that are returned in the ResolveRecipients command response.
Recipients { get; } Represents recipients that have been resolved. More than one Recipient are returned in a Response if the To specified in the request was either resolved to a distribution list or found to be ambiguous. The status code returned in the Response can be used to determine if the recipient was found to be ambiguous. The recipient would be a suggested match if the recipient specified in the request was found to be ambiguous. Certificates are returned if the client requested certificates to be returned in the response.
Status { get; set; } Indicates the result of the ActiveSync command request.
To { get; set; } Specifies a recipient to be resolved. Its value can be up to 256 characters in length. If the To element specifies an ambiguous name and the Availability is included in the request, the response will not include free/busy data for that user. The Availability is only included when the To element includes a valid SMTP address or name that resolves to a unique individual on the server. The result of including more than 1000 To elements in the request is undefined. The server MAY return a protocol status error in response to such a command request. If the ResolveRecipients command request includes the Availability, a maximum of 100 To elements containing SMTP addresses can be included in the request. If more than 100 SMTP addresses are included in the request, Status value 160 is returned in the response. If the ResolveRecipients command request includes the Availability and includes a To element for an ambiguous user, the response does not include a MergedFreeBusy element for that user. Only users or distribution lists specified with valid SMTP addresses or a uniquely identifiable string in the request message To element have MergedFreeBusy elements included in the response. If the ResolveRecipients command request includes the Availability and the To element specifies a distribution group, then the availability data is returned as a single string that merges the data for the individual members of the distribution group. If the distribution group contains more than 20 members, a Status element value of 161 is returned in the response indicating that the merged free busy information of such a large distribution group is not useful.

See Also