unit USMTP;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ComCtrls, Buttons, StdCtrls, Psock, NMsmtp, Db, DBTables, ExtCtrls,
Grids, DBGrids, DBClient, Provider, DBCtrls;
type
TFSMTP = class(TForm)
PageControl1: TPageControl;
TabSheet1: TTabSheet;
TabSheet2: TTabSheet;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
NMSMTP1: TNMSMTP;
Label4: TLabel;
Label5: TLabel;
Label6: TLabel;
EditHost: TEdit;
EditPort: TEdit;
EditUserID: TEdit;
ButtonConnect: TSpeedButton;
DBGrid1: TDBGrid;
Label7: TLabel;
Label8: TLabel;
ButtonAdd: TSpeedButton;
ButtonRemove: TSpeedButton;
ButtonSend: TSpeedButton;
ListBoxAttachments: TListBox;
Label9: TLabel;
Label10: TLabel;
Panel1: TPanel;
Query1: TQuery;
Label11: TLabel;
Label12: TLabel;
EditSubject: TEdit;
OpenDialog1: TOpenDialog;
StatusBar1: TStatusBar;
MemoMail: TMemo;
EditTo: TEdit;
EditCC: TEdit;
EditBCC: TEdit;
ButtonDisconnect: TSpeedButton;
Label13: TLabel;
Label14: TLabel;
EditName: TEdit;
EditAddress: TEdit;
Label15: TLabel;
Label16: TLabel;
ButtonConnection2: TSpeedButton;
Button1: TButton;
Edit1: TEdit;
Label17: TLabel;
Label18: TLabel;
Label19: TLabel;
Label20: TLabel;
Edit2: TEdit;
DBLookupComboBox1: TDBLookupComboBox;
DataSource1: TDataSource;
Query1BDEDesigner: TIntegerField;
Query1BDEDesigner3: TStringField;
Query1BDEDesigner4: TStringField;
Query1BDEDesigner5: TStringField;
Query1BDEDesigner6: TFloatField;
Query1BDEDesigner7: TStringField;
Query1BDEDesigner8: TStringField;
Query1BDEDesigner9: TStri