CTextMessage::DisableRelay Method  
 
VOID DisableRelay();

The DisableRelay method disables the relaying of text messages through another mail server.

Parameters

None.

Return Value

None.

Remarks

The DisableRelay method sets an internal flag that specifies that messages should not be relayed through another mail server. When using the default SMTP service, this means that the library will attempt to send the message directly to the gateway used by the wireless service provider. Relaying is only enabled when the EnableRelay method is called.

Requirements

Minimum Desktop Platform: Windows 7 Service Pack 1
Minimum Server Platform: Windows Server 2008 R2 Service Pack 1
Header File: cstools11.h
Import Library: cstxtv11.lib
Unicode: Implemented as Unicode and ANSI versions

See Also

EnableRelay, IsRelaying, SendMessage