Typ: Klasse
Stellt die Scriptklasse TPOP3 bereit.
| Basisklasse | TObject |
|---|---|
| Statisch | false |
Klassendeklaration
type
TPOP3 = class(TObject)
public
constructor Create(Host: String; UserID: String; Password: String);
constructor CreateFromKind(Value: Variant);
constructor CreateFromDefault;
destructor Free;
function MailCount: Integer;
function RetrieveMail(Index: Integer; Mail: TMailMessage): Boolean;
function RemoveMail(Index: Integer): Boolean;
property Port: Integer;
property SSL: Integer;
property TLS: Integer;
property SSLVer: Integer;
property AuthKind: Integer;
property Host: String;
property UserName: String;
property Password: String;
property TokenURL: String;
property TennentID: String;
property ClientID: String;
property ClientSecret: String;
end;
Konstruktoren #
Create #
Erzeugt eine Instanz von TPOP3.
Signatur
constructor Create(Host: String; UserID: String; Password: String);
Parameter
| Name | Typ | Modifier | Optional | Beschreibung |
|---|---|---|---|---|
Host |
String |
value |
Ja | Parameter Host des Konstruktors. |
UserID |
String |
value |
Ja | Parameter UserID des Konstruktors. |
Password |
String |
value |
Ja | Parameter Password des Konstruktors. |
CreateFromKind #
Erzeugt eine Instanz von TPOP3.
Signatur
constructor CreateFromKind(Value: Variant);
Parameter
| Name | Typ | Modifier | Optional | Beschreibung |
|---|---|---|---|---|
Value |
Variant |
value |
Nein | Parameter Value des Konstruktors. |
CreateFromDefault #
Erzeugt eine Instanz von TPOP3.
Signatur
constructor CreateFromDefault;
Methoden #
Free #
Gibt die Instanz frei.
Signatur
destructor Free;
MailCount #
Stellt MailCount bereit.
Signatur
function MailCount: Integer;
Rueckgabewert
Integer – Rueckgabewert der Methode MailCount.
RetrieveMail #
Stellt RetrieveMail bereit.
Signatur
function RetrieveMail(Index: Integer; Mail: TMailMessage): Boolean;
Parameter
| Name | Typ | Modifier | Optional | Beschreibung |
|---|---|---|---|---|
Index |
Integer |
value |
Nein | Parameter Index der Methode. |
Mail |
TMailMessage |
value |
Nein | Parameter Mail der Methode. |
Rueckgabewert
Boolean – Rueckgabewert der Methode RetrieveMail.
RemoveMail #
Stellt RemoveMail bereit.
Signatur
function RemoveMail(Index: Integer): Boolean;
Parameter
| Name | Typ | Modifier | Optional | Beschreibung |
|---|---|---|---|---|
Index |
Integer |
value |
Nein | Parameter Index der Methode. |
Rueckgabewert
Boolean – Rueckgabewert der Methode RemoveMail.
Properties #
Port #
Property Port.
| Typ | Integer |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property Port: Integer;
SSL #
Property SSL.
| Typ | Integer |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property SSL: Integer;
TLS #
Property TLS.
| Typ | Integer |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property TLS: Integer;
SSLVer #
Property SSLVer.
| Typ | Integer |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property SSLVer: Integer;
AuthKind #
Property AuthKind.
| Typ | Integer |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property AuthKind: Integer;
Host #
Property Host.
| Typ | String |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property Host: String;
UserName #
Property UserName.
| Typ | String |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property UserName: String;
Password #
Property Password.
| Typ | String |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property Password: String;
TokenURL #
Property TokenURL.
| Typ | String |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property TokenURL: String;
TennentID #
Property TennentID.
| Typ | String |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property TennentID: String;
ClientID #
Property ClientID.
| Typ | String |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property ClientID: String;
ClientSecret #
Property ClientSecret.
| Typ | String |
|---|---|
| Lesbar | true |
| Schreibbar | true |
Signatur
property ClientSecret: String;
Kategorie: TPOP3
