TSmtpCli.Port

From Overbyte
Revision as of 22:40, 28 January 2019 by Markus.humm (talk | contribs) (→‎Description: updated with port number 587)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 unless the server uses some encryption mechanism like TLS, then port number often is 587.

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.