This documentation is archived and is not being maintained.

_NameSpace.CreateRecipient Method

Creates a Recipient object.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Recipient CreateRecipient(
	string RecipientName


Type: System.String

The name of the recipient; it can be a string representing the display name, the alias, or the full SMTP e-mail address of the recipient.

Return Value

Type: Microsoft.Office.Interop.Outlook.Recipient
A Recipient object that represents the new recipient.

This method is most commonly used to create a Recipient object for use with the GetSharedDefaultFolder method, for example, to open a delegator's folder. It can also be used to verify a given name against an address book.