Classe TPOP3Send
Unit
Declaração
type TPOP3Send = class(TSynaClient)
Descrição
Implementation of POP3 client protocol.
Note: Are you missing properties for setting Username and Password? Look to parent TSynaClient object!
Are you missing properties for specify server address and port? Look to parent TSynaClient too!
Hierarquia
- TObject
- TSynaClient
- TPOP3Send
Visão Geral
Métodos
![]() |
constructor Create; |
![]() |
destructor Destroy; override; |
![]() |
function CustomCommand(const Command: string; MultiLine: Boolean): boolean; |
![]() |
function Capability: Boolean; |
![]() |
function Login: Boolean; |
![]() |
function Logout: Boolean; |
![]() |
function Reset: Boolean; |
![]() |
function NoOp: Boolean; |
![]() |
function Stat: Boolean; |
![]() |
function List(Value: Integer): Boolean; |
![]() |
function Retr(Value: Integer): Boolean; |
![]() |
function RetrStream(Value: Integer; Stream: TStream): Boolean; |
![]() |
function Dele(Value: Integer): Boolean; |
![]() |
function Top(Value, Maxlines: Integer): Boolean; |
![]() |
function Uidl(Value: Integer): Boolean; |
![]() |
function StartTLS: Boolean; |
![]() |
function FindCap(const Value: string): string; |
Propriedades
![]() |
property ResultCode: Integer read FResultCode; |
![]() |
property ResultString: string read FResultString; |
![]() |
property FullResult: TStringList read FFullResult; |
![]() |
property StatCount: Integer read FStatCount; |
![]() |
property StatSize: Integer read FStatSize; |
![]() |
property ListSize: Integer read FListSize; |
![]() |
property TimeStamp: string read FTimeStamp; |
![]() |
property AuthType: TPOP3AuthType read FAuthType Write FAuthType; |
![]() |
property AutoTLS: Boolean read FAutoTLS Write FAutoTLS; |
![]() |
property FullSSL: Boolean read FFullSSL Write FFullSSL; |
![]() |
property Sock: TTCPBlockSocket read FSock; |
Descrição
Métodos
![]() |
constructor Create; |
![]() |
destructor Destroy; override; |
![]() |
function CustomCommand(const Command: string; MultiLine: Boolean): boolean; |
You can call any custom by this method. Call Command without trailing CRLF. If MultiLine parameter is |
![]() |
function Capability: Boolean; |
Call CAPA command for get POP3 server capabilites. note: not all servers support this command! |
![]() |
function Login: Boolean; |
Connect to remote POP3 host. If all OK, result is |
![]() |
function Logout: Boolean; |
Disconnects from POP3 server. |
![]() |
function Reset: Boolean; |
Send RSET command. If all OK, result is |
![]() |
function NoOp: Boolean; |
Send |
![]() |
function Stat: Boolean; |
Send |
![]() |
function List(Value: Integer): Boolean; |
Send |
![]() |
function Retr(Value: Integer): Boolean; |
Send |
![]() |
function RetrStream(Value: Integer; Stream: TStream): Boolean; |
Send RETR command. After successful operation dowloaded message in |
![]() |
function Dele(Value: Integer): Boolean; |
Send |
![]() |
function Top(Value, Maxlines: Integer): Boolean; |
Send |
![]() |
function Uidl(Value: Integer): Boolean; |
Send |
![]() |
function StartTLS: Boolean; |
Call STLS command for upgrade connection to SSL/TLS mode. |
![]() |
function FindCap(const Value: string): string; |
Try to find given capabily in capabilty string returned from POP3 server by CAPA command. |
Propriedades
![]() |
property ResultCode: Integer read FResultCode; |
Result code of last POP3 operation. 0 - error, 1 - OK. |
![]() |
property ResultString: string read FResultString; |
Result string of last POP3 operation. |
![]() |
property FullResult: TStringList read FFullResult; |
Stringlist with full lines returned as result of POP3 operation. I.e. if operation is LIST, this property is filled by list of messages. If operation is RETR, this property have downloaded message. |
![]() |
property StatCount: Integer read FStatCount; |
After STAT command is there count of messages in inbox. |
![]() |
property StatSize: Integer read FStatSize; |
After STAT command is there size of all messages in inbox. |
![]() |
property ListSize: Integer read FListSize; |
After LIST 0 command size of all messages on server, After LIST x size of message x on server |
![]() |
property TimeStamp: string read FTimeStamp; |
If server support this, after comnnect is in this property |
![]() |
property AuthType: TPOP3AuthType read FAuthType Write FAuthType; |
Type of authorisation for login to POP3 server. Dafault is autodetect one of possible authorisation. Autodetect do this: If remote POP3 server support APOP, try login by APOP method. If APOP is not supported, or if APOP login failed, try classic USER+PASS login method. |
![]() |
property AutoTLS: Boolean read FAutoTLS Write FAutoTLS; |
If is set to |
![]() |
property FullSSL: Boolean read FFullSSL Write FFullSSL; |
SSL/TLS mode is used from first contact to server. Servers with full SSL/TLS mode usualy using non-standard TCP port! |
![]() |
property Sock: TTCPBlockSocket read FSock; |
Socket object used for TCP/IP operation. Good for seting OnStatus hook, etc. |
Gerado por PasDoc 0.16.0.