Difference between revisions of "TSmtpCli.Port"

From Overbyte
Jump to navigation Jump to search
(First entry)
 
(→‎Description: updated with port number 587)
 
Line 7: Line 7:
 
== Description ==
 
== 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.
+
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 ==
 
== Example ==

Latest revision as of 22:40, 28 January 2019

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.