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

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

?? 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一区二区三区免费野_久草精品视频
在线播放国产精品二区一二区四区| 国产精品91一区二区| 在线亚洲免费视频| 亚洲国产cao| 91精品国产综合久久久久久 | 色综合久久久久| 中文字幕综合网| 欧美性猛交xxxxxx富婆| 亚洲图片自拍偷拍| 欧美电视剧免费观看| 国产精品一卡二| 亚洲欧美另类小说视频| 欧美喷水一区二区| 国产精品一线二线三线| 国产精品国产馆在线真实露脸 | 91麻豆精品国产自产在线观看一区| 丝袜诱惑亚洲看片| 国产亚洲成av人在线观看导航| 成人深夜福利app| 亚洲成av人影院| 精品国产精品网麻豆系列| k8久久久一区二区三区| 亚洲地区一二三色| 久久久久国产一区二区三区四区 | 韩日av一区二区| 国产精品久久综合| 欧美人与禽zozo性伦| 国产成人免费视频精品含羞草妖精| 中文字幕中文字幕中文字幕亚洲无线| 日本黄色一区二区| 国产麻豆视频一区二区| 亚洲一区二区三区四区在线免费观看 | 国产日韩精品一区二区三区| 91在线观看成人| 麻豆成人在线观看| 伊人色综合久久天天| 久久日韩精品一区二区五区| 色成人在线视频| 国产毛片精品国产一区二区三区| 亚洲国产日韩av| 中文字幕五月欧美| 欧美精品一区二区在线播放| 色乱码一区二区三区88| 国产精品一区免费在线观看| 亚洲成av人综合在线观看| 国产精品视频麻豆| 精品免费国产一区二区三区四区| 色婷婷亚洲一区二区三区| 国产电影一区在线| 久久99久久99小草精品免视看| 亚洲伦理在线精品| 国产精品免费看片| 久久亚洲精品小早川怜子| 91麻豆精品国产91久久久| 色综合中文字幕国产| 国产91精品久久久久久久网曝门| 日韩激情一二三区| 亚洲大片在线观看| 亚洲一区二区三区视频在线| 综合色中文字幕| 久久久久久久精| 欧美精品一区二区三区四区| 欧美一区二区精品在线| 欧美三级视频在线| 91福利在线免费观看| 99久久亚洲一区二区三区青草| 国产精品18久久久久久vr| 蜜桃在线一区二区三区| 免费在线一区观看| 奇米色一区二区| 美女脱光内衣内裤视频久久网站 | 97久久人人超碰| www.av亚洲| fc2成人免费人成在线观看播放| 国产米奇在线777精品观看| 老司机精品视频导航| 另类小说一区二区三区| 另类小说图片综合网| 精品一区二区三区久久| 国产乱子伦视频一区二区三区| 韩国精品主播一区二区在线观看 | 精品国产成人在线影院| xfplay精品久久| 久久久久88色偷偷免费| 国产视频一区二区在线观看| 欧美国产精品v| 最新欧美精品一区二区三区| 亚洲激情校园春色| 图片区小说区区亚洲影院| 五月天久久比比资源色| 蜜臀av亚洲一区中文字幕| 久久精品国产99久久6| 国内精品伊人久久久久av一坑 | 椎名由奈av一区二区三区| 韩日欧美一区二区三区| 国产成人一级电影| av电影天堂一区二区在线| 在线观看av不卡| 欧美一区二区成人| 中文字幕成人网| 亚洲伊人伊色伊影伊综合网| 日韩影视精彩在线| 国内精品在线播放| 99r国产精品| 这里只有精品视频在线观看| 欧美精品一区二区三区在线| 国产精品三级视频| 香蕉久久夜色精品国产使用方法| 久久国产剧场电影| av成人老司机| 日韩三级.com| 综合中文字幕亚洲| 美女尤物国产一区| 91在线视频网址| 欧美电影免费观看高清完整版| 日本一区二区三区四区| 午夜精品久久久久久久| 国产aⅴ综合色| 欧美无乱码久久久免费午夜一区 | 国产真实乱对白精彩久久| 91视频国产资源| 日韩一级免费观看| 亚洲美女在线国产| 国产精品66部| 欧美色手机在线观看| 欧美国产精品一区二区三区| 性做久久久久久| 91亚洲精品乱码久久久久久蜜桃| 69久久99精品久久久久婷婷 | 色综合天天综合在线视频| 日韩精品最新网址| 亚洲一区二区三区视频在线播放| 国产精品一色哟哟哟| 欧美一区二视频| 亚洲免费视频成人| 岛国一区二区在线观看| 91精品蜜臀在线一区尤物| 亚洲欧美日韩国产一区二区三区| 国产一区二区视频在线| 欧美三级资源在线| 中文字幕在线不卡| 国产乱子轮精品视频| 欧美一卡在线观看| 亚洲成av人片一区二区| 91丨九色丨黑人外教| 久久久www成人免费无遮挡大片| 三级在线观看一区二区| 日本高清不卡在线观看| 亚洲欧洲在线观看av| 国产mv日韩mv欧美| 久久女同性恋中文字幕| 精品在线视频一区| 日韩视频一区在线观看| 日本欧美在线看| 在线不卡欧美精品一区二区三区| 亚洲精品国产一区二区三区四区在线| 国产成a人亚洲| 国产无一区二区| 国产精品香蕉一区二区三区| 欧美一区二区在线播放| 日本在线观看不卡视频| 欧美日韩一卡二卡| 亚洲超碰精品一区二区| 欧美日韩卡一卡二| 亚洲成人免费视频| 最新中文字幕一区二区三区 | 91国产丝袜在线播放| 亚洲欧美日韩中文播放 | 国产一区二区毛片| 久久欧美一区二区| 国产精品中文字幕日韩精品 | 国产精品久线在线观看| av在线不卡免费看| 一区二区三区日本| 欧美日韩亚洲综合一区| 日本午夜精品一区二区三区电影| 制服丝袜亚洲色图| 紧缚捆绑精品一区二区| 国产日韩欧美a| 91欧美激情一区二区三区成人| 亚洲日本电影在线| 欧美久久久久久久久久| 六月丁香婷婷久久| 国产欧美日韩视频一区二区| av一区二区三区| 亚洲国产综合在线| 欧美成人精品二区三区99精品| 久久99久久精品| 国产精品二三区| 欧美日韩一级片在线观看| 美女一区二区三区在线观看| 久久久久久久久蜜桃| 色婷婷av一区二区三区大白胸| 天堂蜜桃91精品| 国产日韩欧美激情| 欧美视频一区在线观看| 久久精品免费看| 成人免费小视频| 欧美一区二区视频观看视频| 国产一区二区美女|