MailEnabledRecipient.AcceptMessagesOnlyFrom property
Gets or sets the mailbox users, mail users, and mail contacts who can send email messages to the recipient.
Namespace: Microsoft.Exchange.Data.Directory.Management
Assembly: Microsoft.Exchange.Data.Directory (in Microsoft.Exchange.Data.Directory.dll)
'Declaration
Public Property AcceptMessagesOnlyFrom As MultiValuedProperty(Of ADObjectId)
Get
Set
'Usage
Dim instance As MailEnabledRecipient
Dim value As MultiValuedProperty(Of ADObjectId)
value = instance.AcceptMessagesOnlyFrom
instance.AcceptMessagesOnlyFrom = value
public MultiValuedProperty<ADObjectId> AcceptMessagesOnlyFrom { get; set; }
Type: Microsoft.Exchange.Data.MultiValuedProperty<ADObjectId>
The mailbox users, mail users, and mail contacts who can send email messages to the current MailEnabledRecipient object.
The default value of this property is blank, which enables the MailEnabledRecipient object to accept messages from all mailbox users, mail users, and mail contacts.