FPCMailAntiSpamSettings Object

The FPCMailAntiSpamSettings object represents the anti-spam settings for e-mail messages in a Forefront TMG array.

The FPCMailAntiSpamSettings object is accessed through the AntiSpamSettings property of the FPCSmtpProtectionConfiguration object.

Ff796482.bkbutton(en-us,MSDN.10).png Click here to see the Forefront TMG object hierarchy.

Inheritance

This object inherits from the FPCPersist object, which contains methods and properties related to the persistent storage of an object's data. They include methods for exporting an object's data to and importing it from XML documents.

Methods

The FPCMailAntiSpamSettings object does not define any methods.

Properties

The FPCMailAntiSpamSettings object defines the following properties.

Property Description

BlockedRecipients

Gets an FPCEMailAddresses collection that contains the e-mail addresses of blocked recipients.

BlockedSenders

Gets an FPCBlockedSenders collection that contains the list of blocked senders and blocked domains.

BlockEmptySendersEnabled

Gets or sets a Boolean value that indicates whether messages sent with empty senders will be blocked.

BlockNotInGlobalAddressBook

Gets or sets a Boolean value that indicates whether messages sent to recipients that are not in the global address book will be blocked.

BlockPhrases

Gets an FPCPhrases collection that contains the phrases which indicate that messages should be blocked.

ContentFilteringEnabled

Gets or sets a Boolean value that indicates whether content filtering is enabled.

ContentFilteringExceptions

Gets an FPCEMailAddresses collection that contains the e-mail addresses of recipients whose incoming messages are excluded from content filtering.

DeleteScl

Gets or sets the spam confidence level (SCL) used as the threshold for deleting messages.

FileFilteringEnabled

Gets or sets a Boolean value that indicates whether e-mail attachments will be filtered.

FileFilters

Gets an FPCMailAntispamFilterLists collection that contains the anti-spam filter lists that are used to filter e-mail attachments.

IpAllowListEnabled

Gets or sets a Boolean value that indicates whether use of the IP Allow List is enabled.

IpAllowListProviders

Gets an FPCIpListProviders collection that contains the IP Allow List providers.

IpAllowListProvidersEnabled

Gets or sets a Boolean value that indicates whether querying the IP Allow List providers is enabled.

IpAllowListRanges

Gets an FPCIpListRanges collection that contains the IP address ranges in the IP Allow List.

IpBlockListEnabled

Gets or sets a Boolean value that indicates whether use of the IP Block List is enabled.

IpBlockListProviders

Gets an FPCIpListProviders collection that contains the IP Block List providers .

IpBlockListProvidersEnabled

Gets or sets a Boolean value that indicates whether querying the IP Block List providers is enabled.

IpBlockListProvidersExceptions

Gets an FPCEMailAddresses collection that contains the e-mail addresses of recipients who are excluded from querying the IP Block List providers.

IpBlockListRanges

Gets an FPCIpListRanges collection that contains the IP address ranges in the IP Block List.

MessageBodyFilteringEnabled

Gets or sets a Boolean value that indicates whether messages are filtered according to the subject line.

MessageBodyFilters

Gets an FPCMailAntispamFilterLists collection that contains the anti-spam filter lists that are used to filter message bodies.

OpenProxyTestEnabled

Gets or sets a Boolean value that indicates whether the open proxy test is enabled.

PassPhrases

Gets an FPCPhrases collection that contains the phrases which indicate that messages should not be blocked regardless of the results of other content checks.

QuarantineMailbox

Gets or sets the e-mail address of the spam quarantine mailbox.

QuarantineScl

Gets or sets the spam confidence level (SCL) used as the threshold for quarantining messages.

RecipientBlockListEnabled

Gets or sets a Boolean value that indicates whether messages sent to recipients in the Recipient Block list will be blocked.

RecipientFilteringEnabled

Gets or sets a Boolean value that indicates whether recipient filtering is enabled.

RejectScl

Gets or sets the spam confidence level (SCL) used as the threshold for rejecting messages.

SenderFilteringAction

Gets or sets a value from the FpcSenderFilterAction enumerated type that specifies the action to be taken when sender filtering detects a message from a blocked sender.

SenderFilteringEnabled

Gets or sets a Boolean value that indicates whether sender filtering is enabled.

SenderIdCheckAction

Gets or sets a value from the FpcSenderIdCheckAction enumerated type that specifies the action to be taken when Sender ID determines that a message is spoofed or an error occurs.

SenderIdCheckEnabled

Gets or sets a Boolean value that indicates whether Sender ID is enabled.

SenderReputationBlockDuration

Gets or sets the time, in hours, during which a sender whose sender reputation level (SRL) is above the threshold for blocking messages will be added to the IP Block list.

SenderReputationEnabled

Gets or sets a Boolean value that indicates whether calculation of the sender reputation level (SRL) is enabled.

SenderReputationLevelBlockThreshold

Gets or sets the sender reputation level (SRL) used as the threshold for blocking messages.

SpamDeletionEnabled

Gets or sets a Boolean value that indicates whether spam deletion is enabled.

SpamQuarantineEnabled

Gets or sets a Boolean value that indicates whether the spam quarantine is enabled.

SpamRejectionEnabled

Gets or sets a Boolean value that indicates whether spam rejection is enabled.

Methods Inherited from FPCPersist

Name Description
CancelWaitForChanges Cancels the registration established by the WaitForChanges method (for use in C and C++ programming only).
CanImport Returns a Boolean value that indicates whether the object's properties can be imported from the specified XML document.
Export Writes the stored values of all of the object's properties to the specified XML document.
ExportToFile Writes the stored values of all of the object's properties to the specified XML file.
GetServiceRestartMask Retrieves a 32-bit bitmask of the FpcServices enumerated type that specifies which services need to be restarted for currently unsaved changes to take effect.
Import Copies the values of all of the object's properties from the specified XML document to persistent storage.
ImportFromFile Copies the values of all of the object's properties from the specified XML file to persistent storage.
LoadDocProperties Provides the XML document's properties so that you can know what information can be imported from the document.
Refresh Reads the values of all of the object's properties from persistent storage, overwriting any changes that have not been saved.
Save Writes the current values of all of the object's properties to persistent storage.
WaitForChanges Registers to wait for an event indicating that the contents of the object have changed (for use in C and C++ programming only).

Properties Inherited from FPCPersist

Name Description
PersistentName Gets the persistent name of the object. The persistent name of an object is a name that is unique for the object at the respective level of the COM object hierarchy.
VendorParameterSets Gets an FPCVendorParametersSets object that can hold sets of custom data for extending the object.

Interfaces for C++ Programming

This object implements the IFPCMailAntiSpamSettings interface.

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.

See Also

COM Objects

Send comments about this topic to Microsoft

Build date: 6/30/2010