Difference between revisions of "TSmtpCli.Port"

From Overbyte
Jump to navigation Jump to search
(First entry)
(No difference)

Revision as of 07:56, 5 November 2009

Main page -> ICS component reference -> TSmtpCli -> Port

Definition

property Port: integer;

Description

The port property tells the Smtp client component on which port on the server side a Smtp server is listening for incoming e-mail requests. The default port address of 25 is preassigned and normally does not need to be changed.

Example

Best practices

If you have a configuration screen for the Smtp server to be used for sending e-mails you should give the user the ability to configure the port just in case some e-mail server does not use the standard port 25.