Topic Path: Symbol Reference > Classes > TIdSMTP Class > TIdSMTP Properties > Port Property
ContentsIndexHome
PreviousUpNext
TIdSMTP.Port Property

Port number for the connection to the SMTP server.

property Port;

Port is a published TIdPort property that identifies the port number to use for the connection the SMTP server in Host

The default value for Port is IdPORT_SMTP as assigned in the Create constructor. 

Set values in Host and Port prior to calling Connect, or use the arguments provided 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.