Features | Detailed Description
Available in .NET, VCL and ActiveX editions.
The SMTP Server component is used for accepting and keeping emails from clients for further delivery to end recipients.
This component represents fully functional multithreaded server with the ability to customize the user and thread performance settings, supports all SMTP extensions according to RFC 821, RFC 2821 and RFC 2554 protocols.
Using SmtpRelay component you can resolve MX exchanger for email recipients and relay emails sent to it.
You can use X.509 certificates for establishing the SSL / TLS secured connection.
See SSL / TLS support and Using certificates
With SMTP Server component you can enable debug log for showing entered commands and replies sent to the user.
Please see the Demos code (SmtpServer, SmtpServerSSL) and also the indexed Help documentation provided with the Clever Internet Suite installation for more details about using this component.
The most common members of the SMTP Server component can be seen below:
Name |
Description |
BatchSize |
Specifies the size of the transferred batch. |
CaseInsensitive |
Specifies whether the user account validation is case-insensitive. |
MaxRecipiets |
Maximum number of recipients allowed for the mail message. |
MaxThreadCount |
Gets or Sets the number of requests to the server that can be active concurrently. |
MinThreadCount |
Gets or Sets the number of idle threads the server maintains in anticipation of new requests. |
Port |
Specifies the port on which the SMTP server will listen to the user connections. |
UserAccounts |
Provides a list of SMTP server users which have allowed connecting to the SMTP server. |
UseAuth |
Makes the component use the Secure Password Authentication method during the connecting session. |
UseTLS |
Specifies whether the component should use the TLS / SSL security protocol. |
Name |
Description |
Start |
Starts the SMTP server. |
Stop |
Stops the SMTP server. |
Name |
Description |
OnAuthenticate |
Occurs when the SMTP server has accepred an authentication information from the user and needs to authorize or decline the connection. |
OnMailFrom |
Occurs when the client submitted the message sender address. |
OnMessageReceived |
Occurs when the SMTP server received the message from the client. |
OnRecipientTo |
Occurs when the client submitted the next message recipient. |
OnReceiveCommand |
Occurs when the SMTP server has received a command from the user. |
OnSendResponse |
Occurs when the SMTP server has sent a reply on the command being received earlier. |
OnServerError |
Occurs when an error is encountered when any action is performed. |
|