Unit SMTP
From Ultibo.org
Return to Unit Reference
Contents
[hide]Description
Ultibo SMTP interface unit
To be documented
Constants
[Expand]
SMTP specific constants
SMTP_*
[Expand]
SMTP status
SMTP_STATUS_*
[Expand]
SMTP command
SMTP_COMMAND_*
[Expand]
SMTP sub command
SMTP_SUB_COMMAND_*
[Expand]
SMTP string
SMTP_STRING_*
[Expand]
SMTP logging
SMTP_LOG_*
Type definitions
SMTP client notify event
TSMTPClientNotifyEvent = procedure(const ARequest:String) of Object;
|
SMTP host event
TSMTPHostEvent = function(AConnection:TSMTPConnection):Boolean of Object;
|
SMTP count event
TSMTPCountEvent = function(AConnection:TSMTPConnection):Boolean of Object;
|
SMTP notify event
TSMTPNotifyEvent = procedure(AConnection:TSMTPConnection; const ARequest:String) of Object;
|
SMTP request event
TSMTPRequestEvent = function(AConnection:TSMTPConnection; const ARequest:String; var AReply:String):Boolean of Object;
|
SMTP authenticate event
TSMTPAuthenticateEvent = function(AConnection:TSMTPConnection; const AMethod,AUsername,APassword:String; var AReply:String):Boolean of Object;
|
SMTP connection event
TSMTPConnectionEvent = procedure(AConnection:TSMTPConnection) of Object;
|
Class definitions
SMTP buffer
[Expand]
TSMTPBuffer = class(TObject)
SMTP client
[Expand]
TSMTPClient = class(TWinsock2TCPClient)
SMTP connection
[Expand]
TSMTPConnection = class(TListObject)
SMTP listener
[Expand]
TSMTPListener = class(TWinsock2TCPListener)
Public variables
SMTP logging
SMTP_DEFAULT_LOG_LEVEL:LongWord = SMTP_LOG_LEVEL_DEBUG;
|
Minimum level for SMTP messages. Only messages with level greater than or equal to this will be printed. |
SMTP_LOG_ENABLED:Boolean;
|
Function declarations
Initialization functions
SMTP helper functions
Return to Unit Reference