IFPCSmtpRoute::MailForwardingMethod property

Applies to: desktop apps only

The MailForwardingMethod property gets or sets a value from the FpcMailForwardingMethod enumerated type that indicates the mail forwarding method for the route.

This property is read/write.

Syntax

HRESULT put_MailForwardingMethod(
  FpcMailForwardingMethod MailForwardingMethod
);

HRESULT get_MailForwardingMethod(
  FpcMailForwardingMethod *pMailForwardingMethod
);
' Data type: FpcMailForwardingMethod

Property MailForwardingMethod( _
  ByVal MailForwardingMethod As FpcMailForwardingMethod, _
  ByVal pMailForwardingMethod As FpcMailForwardingMethod _
) As FpcMailForwardingMethod

Property value

Value from the FpcMailForwardingMethod enumerated type that specifies the mail forwarding method for the route.

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. The default value is fpcForwardUsingMxRecord, which indicates that the mail exchanger (MX) resource record registered in DNS will be used to forward mail.

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