Share via


IFPCMailAntiSpamSettings::RecipientFilteringEnabled property

Applies to: desktop apps only

The RecipientFilteringEnabled property gets or sets a Boolean value that indicates whether recipient filtering is enabled.

This property is read/write.

Syntax

HRESULT put_RecipientFilteringEnabled(
  VARIANT_BOOL fRecipientFilteringEnabled
);

HRESULT get_RecipientFilteringEnabled(
  VARIANT_BOOL *pfRecipientFilteringEnabled
);
' Data type: Boolean

Property RecipientFilteringEnabled( _
  ByVal fRecipientFilteringEnabled As VARIANT_BOOL, _
  ByVal pfRecipientFilteringEnabled As VARIANT_BOOL _
) As Boolean

Property value

Boolean value that indicates whether recipient filtering is enabled.

Error codes

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Remarks

This property is read/write. Its default value is True (VARIANT_TRUE in C++).

When recipient filtering is enabled, you can enable the blocking of messages sent to recipients included in the Recipient Block list by using the RecipientBlockListEnabled property, and you can enable the blocking of messages sent to recipients that are not listed in the global address book by using BlockNotInGlobalAddressBook the property.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCMailAntiSpamSettings

 

 

Build date: 7/12/2010