亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? poptst1.pas

?? 包含常用Internet協(xié)議TCP,UDP、HTTP、FTP、Telnet等
?? PAS
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

   +-------------------------------------------------------------------+
   | THIS IS AN OUTDATED APPLICATION USING AN OUTDATED COMPONENT.      |
   | NEW COMPONENT IS IN POP3PROT.PAS FILE. NEW DEMO IS MAILRCV.DPR.   |
   +-------------------------------------------------------------------+

Author:       Fran鏾is PIETTE
Object:       Show how to use TPop3Cli (POP3 protocol, RFC-1225)
Creation:     03 october 1997
Version:      1.02
EMail:        francois.piette@pophost.eunet.be
              francois.piette@rtfm.be             http://www.rtfm.be/fpiette
Support:      Use the mailing list twsocket@rtfm.be See website for details.
Legal issues: Copyright (C) 1997, 1998 by Fran鏾is PIETTE
              Rue de Grady 24, 4053 Embourg, Belgium. Fax: +32-4-365.74.56
              <francois.piette@pophost.eunet.be>

              This software is provided 'as-is', without any express or
              implied warranty.  In no event will the author be held liable
              for any  damages arising from the use of this software.

              Permission is granted to anyone to use this software for any
              purpose, including commercial applications, and to alter it
              and redistribute it freely, subject to the following
              restrictions:

              1. The origin of this software must not be misrepresented,
                 you must not claim that you wrote the original software.
                 If you use this software in a product, an acknowledgment
                 in the product documentation would be appreciated but is
                 not required.

              2. Altered source versions must be plainly marked as such, and
                 must not be misrepresented as being the original software.

              3. This notice may not be removed or altered from any source
                 distribution.

              4. You must register this software by sending a picture postcard
                 to the author. Use a nice stamp and mention your name, street
                 address, EMail address and any comment you like to say.

Updates:
Nov 12, 1997  V1.01 Added a GetAll button to get all messages waiting in the
              POP3 server, copying them to a file using the UIDL to build
              the file name (sorry, wont work with D1 because of long file
              name). The message is *NOT* deleted from the POP3 server.
Jan 10, 1998  V1.02 Added port selection

 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *}
unit PopTst1;

interface

uses
  WinTypes, WinProcs, Messages, SysUtils, Classes, Graphics, Controls, Forms,
  Dialogs, WSocket, pop3cli, StdCtrls, Wait, IniFiles, ExtCtrls;

const
    PopTstVersion = 102;

type
  TPOP3ExcercizerForm = class(TForm)
    Pop3Client: TPop3Client;
    DisplayMemo: TMemo;
    Panel1: TPanel;
    InfoLabel: TLabel;
    Label1: TLabel;
    Label2: TLabel;
    Label3: TLabel;
    Label4: TLabel;
    Label5: TLabel;
    ConnectButton: TButton;
    Wait1: TWait;
    DisconnectButton: TButton;
    UserButton: TButton;
    HostEdit: TEdit;
    UserNameEdit: TEdit;
    PassWordEdit: TEdit;
    PassButton: TButton;
    MsgNumEdit: TEdit;
    RetrButton: TButton;
    StatButton: TButton;
    ListAllButton: TButton;
    ListButton: TButton;
    DeleteButton: TButton;
    NoopButton: TButton;
    LastButton: TButton;
    ResetButton: TButton;
    TopButton: TButton;
    MsgLinesEdit: TEdit;
    RpopButton: TButton;
    UidlButton: TButton;
    ApopButton: TButton;
    NextButton: TButton;
    GetAllButton: TButton;
    PortEdit: TEdit;
    Label6: TLabel;
    procedure ConnectButtonClick(Sender: TObject);
    procedure FormCreate(Sender: TObject);
    procedure DisconnectButtonClick(Sender: TObject);
    procedure UserButtonClick(Sender: TObject);
    procedure PassButtonClick(Sender: TObject);
    procedure Pop3ClientMessageBegin(Sender: TObject);
    procedure Pop3ClientMessageEnd(Sender: TObject);
    procedure Pop3ClientMessageLine(Sender: TObject);
    procedure RetrButtonClick(Sender: TObject);
    procedure StatButtonClick(Sender: TObject);
    procedure ListAllButtonClick(Sender: TObject);
    procedure ListButtonClick(Sender: TObject);
    procedure Pop3ClientListBegin(Sender: TObject);
    procedure Pop3ClientListEnd(Sender: TObject);
    procedure Pop3ClientListLine(Sender: TObject);
    procedure DeleteButtonClick(Sender: TObject);
    procedure NoopButtonClick(Sender: TObject);
    procedure LastButtonClick(Sender: TObject);
    procedure ResetButtonClick(Sender: TObject);
    procedure TopButtonClick(Sender: TObject);
    procedure RpopButtonClick(Sender: TObject);
    procedure FormCloseQuery(Sender: TObject; var CanClose: Boolean);
    procedure Pop3ClientDisplay(Sender: TObject; Msg: String);
    procedure UidlButtonClick(Sender: TObject);
    procedure Pop3ClientUidlBegin(Sender: TObject);
    procedure Pop3ClientUidlEnd(Sender: TObject);
    procedure Pop3ClientUidlLine(Sender: TObject);
    procedure ApopButtonClick(Sender: TObject);
    procedure NextButtonClick(Sender: TObject);
    procedure GetAllButtonClick(Sender: TObject);
  private
    FFile     : TextFile;
    FFileName : String;
    function  DoTheJob(MethodPtr : TPop3Method; MethodName : String) : Boolean;
    procedure MessageBegin(Sender: TObject);
    procedure MessageLine(Sender: TObject);
    procedure GetAllMessageLine(Sender: TObject);
  public
    { D閏larations publiques }
  end;

var
  POP3ExcercizerForm: TPOP3ExcercizerForm;

implementation

{$R *.DFM}

uses
    PopTst2;

const
    IniFileName = 'POPTST.INI';

{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *}
{ Restore some data from the INI file                                       }
procedure TPOP3ExcercizerForm.FormCreate(Sender: TObject);
var
    IniFile : TIniFile;
begin
    IniFile := TIniFile.Create(IniFileName);
    HostEdit.Text     := IniFile.ReadString('Data', 'Host',     '');
    PortEdit.Text     := IniFile.ReadString('Data', 'Port',     '');
    UserNameEdit.Text := IniFile.ReadString('Data', 'UserName', '');
    PassWordEdit.Text := IniFile.ReadString('Data', 'Password', '');
    IniFile.Free;
    InfoLabel.Caption := '';
end;


{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *}
{ Save data to INI file                                                     }
procedure TPOP3ExcercizerForm.FormCloseQuery(Sender: TObject;
  var CanClose: Boolean);
var
    IniFile : TIniFile;
begin
    IniFile := TIniFile.Create(IniFileName);
    IniFile.WriteString('Data', 'Host',     HostEdit.Text);
    IniFile.WriteString('Data', 'Port',     PortEdit.Text);
    IniFile.WriteString('Data', 'UserName', UserNameEdit.Text);
    IniFile.WriteString('Data', 'Password', PassWordEdit.Text);
    IniFile.Free;
end;


{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *}
{ This event handler is called when the TPop3Client object wants to display }
{ some information such as connection progress or errors.                   }
procedure TPOP3ExcercizerForm.Pop3ClientDisplay(Sender: TObject;
  Msg: String);
begin
    DisplayMemo.Lines.Add(Msg);
end;


{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *}
{ All the TPop3Client method are of the same type. To simplify this demo    }
{ application, DoTheJob transfert the parameters form the various EditBoxes }
{ to the Pop3Client instance and then call the appropriate method, showing  }
{ the result in the InfoLabel.Caption.                                      }
function TPOP3ExcercizerForm.DoTheJob(
    MethodPtr  : TPop3Method;
    MethodName : String) : Boolean;
begin
    Pop3Client.Host     := HostEdit.Text;
    Pop3Client.Port     := PortEdit.Text;
    Pop3Client.UserName := UserNameEdit.Text;
    Pop3Client.PassWord := PassWordEdit.Text;
    Pop3Client.MsgNum   := StrToInt(MsgNumEdit.Text);
    Pop3Client.MsgLines := StrToInt(MsgLinesEdit.Text);
    InfoLabel.Caption   := MethodName + ' started';
    Result := MethodPtr;
    if Result then
        InfoLabel.Caption := MethodName + ' ok'
    else
        InfoLabel.Caption := MethodName + ' failed';
end;


{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *}
procedure TPOP3ExcercizerForm.ConnectButtonClick(Sender: TObject);
begin
    DoTheJob(Pop3Client.Connect, 'Connect');
end;


{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *}
procedure TPOP3ExcercizerForm.DisconnectButtonClick(Sender: TObject);
begin
    DoTheJob(Pop3Client.Quit, 'Quit');
end;


{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *}
procedure TPOP3ExcercizerForm.UserButtonClick(Sender: TObject);
begin
    DoTheJob(Pop3Client.User, 'User');
end;


{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *}
procedure TPOP3ExcercizerForm.PassButtonClick(Sender: TObject);
begin
    DoTheJob(Pop3Client.Pass, 'Pass');
end;


{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *}
procedure TPOP3ExcercizerForm.RetrButtonClick(Sender: TObject);
begin
    DoTheJob(Pop3Client.Retr, 'Retr');
end;


{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *}
procedure TPOP3ExcercizerForm.StatButtonClick(Sender: TObject);
begin
    if DoTheJob(Pop3Client.Stat, 'Stat') then
        InfoLabel.Caption := 'Stat ok, ' +
                             IntToStr(Pop3Client.MsgCount) + ' messages ' +
                             IntToStr(Pop3Client.MsgSize) + ' bytes'
end;


{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *}
procedure TPOP3ExcercizerForm.ListAllButtonClick(Sender: TObject);
begin
    MsgNumEdit.Text := '0';
    DoTheJob(Pop3Client.List, 'List All');
end;


{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *}
procedure TPOP3ExcercizerForm.ListButtonClick(Sender: TObject);
begin
    DoTheJob(Pop3Client.List, 'List');
end;


{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *}

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国内精品免费在线观看| 99久久伊人久久99| 精品一区二区三区香蕉蜜桃| 国产精品系列在线播放| 97国产一区二区| 在线成人小视频| 国产婷婷色一区二区三区在线| 亚洲美女电影在线| 日韩精品欧美精品| 99久久国产综合精品色伊| 欧美一区日韩一区| **欧美大码日韩| 韩国成人在线视频| 欧美午夜精品理论片a级按摩| 91精品欧美综合在线观看最新| 国产精品三级视频| 久久超碰97中文字幕| 在线区一区二视频| 国产精品午夜在线| 国产大片一区二区| 欧美精品久久久久久久多人混战| 国产精品乱人伦| 国产激情视频一区二区在线观看| 欧美精三区欧美精三区| 日日夜夜精品视频免费| 91麻豆精东视频| 国产欧美一区二区精品忘忧草| 日本亚洲视频在线| 欧美精品丝袜中出| 午夜久久久影院| 欧美性色aⅴ视频一区日韩精品| 椎名由奈av一区二区三区| 国产一区 二区 三区一级| 欧美三级韩国三级日本三斤| 午夜亚洲国产au精品一区二区| 香港成人在线视频| 91在线一区二区| 午夜精品视频在线观看| 国产亚洲女人久久久久毛片| 国产精品亚洲专一区二区三区| 国产精品萝li| 欧美性色黄大片手机版| 精品无人码麻豆乱码1区2区 | **网站欧美大片在线观看| 免费人成网站在线观看欧美高清| 国产精品夜夜嗨| 亚洲国产人成综合网站| 2023国产精品| 56国语精品自产拍在线观看| 麻豆中文一区二区| 2020国产精品| 99re成人在线| 午夜精品久久一牛影视| 日韩一区二区三区视频| 另类小说色综合网站| 国产日韩欧美一区二区三区综合| 国产激情视频一区二区在线观看| 久久精品欧美日韩| 色综合 综合色| 久久成人免费网| 亚洲卡通欧美制服中文| 日韩欧美国产麻豆| 欧美精选在线播放| 国产精品中文字幕欧美| 亚洲色图欧美在线| 精品国产污污免费网站入口| 白白色 亚洲乱淫| 另类欧美日韩国产在线| 中文字幕综合网| 欧美精品一区二区在线播放| 99久久久免费精品国产一区二区| 一区二区三区四区国产精品| 欧美精品一区二区高清在线观看| 91在线精品一区二区| 欧美aaaaaa午夜精品| 日韩一区在线看| 久久久美女艺术照精彩视频福利播放| 欧美午夜免费电影| 久久久久久久综合狠狠综合| 欧美r级电影在线观看| 欧美一区二区三区白人| 欧美二区在线观看| 4438x成人网最大色成网站| 欧美日韩激情一区二区| 欧美日韩在线直播| 成人国产视频在线观看| 精品在线视频一区| 精品亚洲国内自在自线福利| 日韩影院免费视频| 日本最新不卡在线| 视频一区在线视频| 天天综合网 天天综合色| 亚洲va中文字幕| 亚洲国产va精品久久久不卡综合| 一区二区在线免费| 日韩精品五月天| 日韩电影网1区2区| 久久成人精品无人区| 国产麻豆精品久久一二三| 国产精品一二三四五| 国产suv精品一区二区三区| thepron国产精品| 蜜桃视频在线观看一区| 国产一区二区成人久久免费影院 | 国产精品免费人成网站| 国产欧美精品在线观看| 中文字幕一区二区视频| 亚洲一区视频在线| 麻豆一区二区99久久久久| 国产成人免费网站| 91免费视频大全| 777xxx欧美| 欧美国产欧美亚州国产日韩mv天天看完整| 一区在线中文字幕| 午夜久久久久久久久久一区二区| 另类中文字幕网| 色激情天天射综合网| 精品剧情在线观看| 亚洲精品乱码久久久久久黑人 | 亚洲精品日韩一| 激情欧美一区二区三区在线观看| 99国产精品久久久久久久久久久| 在线精品视频一区二区三四| 日韩欧美美女一区二区三区| 综合欧美亚洲日本| 看片网站欧美日韩| 在线免费观看日本一区| 国产日本欧美一区二区| 亚洲妇熟xx妇色黄| 成人黄色在线网站| 久久久综合激的五月天| 日韩精品欧美成人高清一区二区| 成a人片国产精品| 日韩一区二区精品在线观看| 亚洲欧美另类久久久精品| 精品一区二区三区在线观看国产| 欧美三级资源在线| 综合精品久久久| 丰满亚洲少妇av| 久久精品一区二区三区不卡牛牛 | 2024国产精品视频| 日韩国产成人精品| 欧美日韩国产不卡| 亚洲电影你懂得| 欧美日韩中文国产| 亚洲午夜成aⅴ人片| 日本道精品一区二区三区| 亚洲欧洲日韩女同| 99久久精品免费| 亚洲精品欧美二区三区中文字幕| 欧美一级片在线| 久久99精品国产麻豆婷婷洗澡| 欧美色涩在线第一页| 亚洲一区二区欧美| 欧美日韩美女一区二区| 亚洲成av人在线观看| 91精品国产免费| 国内精品视频666| 国产精品久线在线观看| 色诱亚洲精品久久久久久| 亚洲国产精品久久久久秋霞影院 | 九一久久久久久| 国产精品日韩成人| 欧美无乱码久久久免费午夜一区 | 国产精品久久久久一区| 91免费国产视频网站| 亚洲成av人片一区二区三区 | 狠狠色丁香久久婷婷综| 亚洲国产精品99久久久久久久久 | 午夜视频在线观看一区二区三区| 欧美精品一二三| 成人一区二区三区在线观看| 亚洲国产精品一区二区久久恐怖片| 91精品国产高清一区二区三区蜜臀| 国模无码大尺度一区二区三区| 国产精品久久网站| 欧美精品一二三区| 成人的网站免费观看| 日本中文字幕一区二区视频| 中文字幕精品—区二区四季| 欧美日韩一级片在线观看| 国产一区二区精品在线观看| 亚洲一区二区在线视频| 国产精品全国免费观看高清 | 亚洲人成网站精品片在线观看| 777亚洲妇女| 色丁香久综合在线久综合在线观看| 美女精品自拍一二三四| 亚洲国产精品一区二区久久| 国产精品嫩草影院com| 精品欧美久久久| 日韩视频在线永久播放| 欧美亚洲综合在线| 91官网在线观看| 色综合天天狠狠| 色婷婷久久久亚洲一区二区三区 | 国产一区二区美女| 极品瑜伽女神91| 视频一区二区三区在线| 亚洲成精国产精品女|