Topic Path: Symbol Reference > Classes > TIdSMTPBase Class > TIdSMTPBase Methods > Send Method
TIdSMTPBase.Send Method

Sends an message to the SMTP server.

procedure Send(
    AMsg: TIdMessage
); virtual; abstract;
Message instance to be transmitted. 

Send is an abstract virtual procedure that specifies the interface used to send the message specified in AMsg to the SMTP server specified in the Host property. 

Send must be reimplemented in a descendant class to allow transmission of the message using method required for the SMTP client or SMTP relay.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.