Share via


AntiSpamSettings Property of the IFPCSmtpProtectionConfiguration Interface

The AntiSpamSettings property gets an FPCMailAntiSpamSettings object that holds the anti-spam settings for e-mail messages.

C++

HRESULT get_AntiSpamSettings(
    IFPCMailAntiSpamSettings** ppAntiSpamSettings
);

Parameters

  • ppAntiSpamSettings
    Address of an interface pointer that on return points to an IFPCMailAntiSpamSettings interface that represents the anti-spam settings for e-mail messages.

Return Value

This property method returns S_OK if the call is successful; otherwise, it returns an error code.

Visual Basic

Property AntiSpamSettings As FPCMailAntiSpamSettings

Property Value

Reference to an FPCMailAntiSpamSettings object that that holds the anti-spam settings for e-mail messages.

Remarks

This property is read-only. The anti-spam settings for e-mail messages can be modified through the properties of the FPCMailAntiSpamSettings object retrieved (the IFPCMailAntiSpamSettings interface retrieved in C++).

Requirements

Client Requires Windows 7 or Windows Vista.
Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCSmtpProtectionConfiguration

Send comments about this topic to Microsoft

Build date: 6/30/2010