Share via


IFPCMailAntivirusSettings::IllegalMIMEHeaderAction property

Applies to: desktop apps only

The IllegalMIMEHeaderAction property gets or sets a value from the FpcMailIllegalMimeHeaderAction enumerated type that indicates the action to be taken when a message containing an illegal MIME header is detected.

This property is read/write.

Syntax

HRESULT put_IllegalMIMEHeaderAction(
  FpcMailAntivirusAction IllegalMIMEHeaderAction
);

HRESULT get_IllegalMIMEHeaderAction(
  FpcMailAntivirusAction *pIllegalMIMEHeaderAction
);
' Data type: FpcMailAntivirusAction

Property IllegalMIMEHeaderAction( _
  ByVal IllegalMIMEHeaderAction As FpcMailAntivirusAction, _
  ByVal pIllegalMIMEHeaderAction As FpcMailAntivirusAction _
) As FpcMailAntivirusAction

Property value

Value from the FpcMailIllegalMimeHeaderAction enumerated type that indicates the action to be taken when a message containing an illegal MIME header is detected.

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 fpcMailIllegalMimeHeaderAction_Purge, which indicates that the entire message should be deleted.

The MIME headers inspected include the following: Content-Disposition, Content-Type, and Content-Transfer-Encoding. Multiple instances of these headers are illegal. Content-Disposition header that are longer than 1,024 characters and Content-Type headers that are longer than 260 characters are also illegal.

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

FPCMailAntivirusSettings

 

 

Build date: 7/12/2010