Internet Direct (Indy) Version 9.0.1 Beta
TIdMessageClient.SendMsg
Sends message headers and body on the client connection.

procedure SendMsg(AMsg: TIdMessage); virtual;
Parameters
AMsg: TIdMessage
Message to be sent by the client.

Description
SendMsg is a virtual procedure in TIdMessageClient that performs the processing required to send the message instance specified in AMsg using the message client. The default implementation of SendMsg calls SendHeader to transmit the message headers in AMsg, writes a blank separator line, and calls SendBody to send the contents of the message body.

Descendant classes may override the default SendMsg behavior to implement protocol specific message transmission requirements.