MailEnabledRecipient.AcceptMessagesOnlyFromSendersOrMembers Property

Gets or sets the users, contacts, or distribution groups 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)

Syntax

'Declaration
Public Property AcceptMessagesOnlyFromSendersOrMembers As MultiValuedProperty(Of ADObjectId)
    Get
    Friend Set
'Usage
Dim instance As MailEnabledRecipient
Dim value As MultiValuedProperty(Of ADObjectId)

value = instance.AcceptMessagesOnlyFromSendersOrMembers
public MultiValuedProperty<ADObjectId> AcceptMessagesOnlyFromSendersOrMembers { get; internal set; }

Property Value

Type: Microsoft.Exchange.Data.MultiValuedProperty<ADObjectId>
The users, contacts, or distribution groups who can send email messages to the recipient.

Remarks

If you specify a distribution group for this property, messages from all recipients that are members of the distribution group are accepted by the recipient.