Topic Path: Symbol Reference > Classes > TIdSMTP Class > TIdSMTP Properties > Host Property
TIdSMTP.Host Property

IP address or host name for the SMTP server.

property Host;

Host is a published string property that identifies the IP address or host name for the SMTP server. 

Use Port to specifiy the port number used for the connection to the SMTP server. 

Set values in the Host and Port property prior to calling Connect, or use arguments permitted in the QuickSend method.

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