IFPCSmtpRoute::MaxMessageSize property

Applies to: desktop apps only

The MaxMessageSize property gets or sets the maximum size, in kilobytes, for an email message.

This property is read/write.

Syntax

HRESULT put_MaxMessageSize(
  long lMaxMessageSize
);

HRESULT get_MaxMessageSize(
  long *plMaxMessageSize
);
' Data type: Long

Property MaxMessageSize( _
  ByVal lMaxMessageSize As long, _
  ByVal plMaxMessageSize As long _
) As Long

Property value

A 32-bit integer that specifies the maximum size, in kilobytes, for an email message.

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 10,240 kilobytes, and its range of permissible values is from 64 through 1,406,975 kilobytes.

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

FPCSmtpRoute

 

 

Build date: 7/12/2010