|
|
1.1 root 1: /* Synchronet Control Panel (GUI Borland C++ Builder Project for Win32) */
2:
1.1.1.2 ! root 3: /* $Id: MailCfgDlgUnit.h,v 1.15 2004/08/11 10:28:30 rswindell Exp $ */
1.1 root 4:
5: /****************************************************************************
6: * @format.tab-size 4 (Plain Text/Source Code File Header) *
7: * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) *
8: * *
9: * Copyright 2000 Rob Swindell - http://www.synchro.net/copyright.html *
10: * *
11: * This program is free software; you can redistribute it and/or *
12: * modify it under the terms of the GNU General Public License *
13: * as published by the Free Software Foundation; either version 2 *
14: * of the License, or (at your option) any later version. *
15: * See the GNU General Public License for more details: gpl.txt or *
16: * http://www.fsf.org/copyleft/gpl.html *
17: * *
18: * Anonymous FTP access to the most recent released source is available at *
19: * ftp://vert.synchro.net, ftp://cvs.synchro.net and ftp://ftp.synchro.net *
20: * *
21: * Anonymous CVS access to the development source and modification history *
22: * is available at cvs.synchro.net:/cvsroot/sbbs, example: *
23: * cvs -d :pserver:[email protected]:/cvsroot/sbbs login *
24: * (just hit return, no password is necessary) *
25: * cvs -d :pserver:[email protected]:/cvsroot/sbbs checkout src *
26: * *
27: * For Synchronet coding style and modification guidelines, see *
28: * http://www.synchro.net/source.html *
29: * *
30: * You are encouraged to submit any modifications (preferably in Unix diff *
31: * format) via e-mail to [email protected] *
32: * *
33: * Note: If this box doesn't appear square, then you need to fix your tabs. *
34: ****************************************************************************/
35:
36: //----------------------------------------------------------------------------
37: #ifndef MailCfgDlgUnitH
38: #define MailCfgDlgUnitH
39: //----------------------------------------------------------------------------
40: #include <vcl\ExtCtrls.hpp>
41: #include <vcl\Buttons.hpp>
42: #include <vcl\StdCtrls.hpp>
43: #include <vcl\Controls.hpp>
44: #include <vcl\Forms.hpp>
45: #include <vcl\Graphics.hpp>
46: #include <vcl\Classes.hpp>
47: #include <vcl\SysUtils.hpp>
48: #include <vcl\Windows.hpp>
49: #include <vcl\System.hpp>
50: #include <Dialogs.hpp>
51: #include <ComCtrls.hpp>
52: //----------------------------------------------------------------------------
53: class TMailCfgDlg : public TForm
54: {
55: __published:
56: TButton *OKBtn;
57: TButton *CancelBtn;
58: TOpenDialog *OpenDialog;
59: TButton *ApplyButton;
60: TPageControl *PageControl;
61: TTabSheet *GeneralTabSheet;
62: TCheckBox *AutoStartCheckBox;
63: TLabel *InterfaceLabel;
64: TEdit *NetworkInterfaceEdit;
65: TLabel *MaxClientsLabel;
66: TEdit *MaxClientsEdit;
67: TLabel *MaxInactivityLabel;
68: TEdit *MaxInactivityEdit;
69: TTabSheet *SMTPTabSheet;
70: TLabel *TelnetPortLabel;
71: TEdit *SMTPPortEdit;
72: TCheckBox *HostnameCheckBox;
73: TCheckBox *DebugTXCheckBox;
74: TCheckBox *LogFileCheckBox;
75: TTabSheet *POP3TabSheet;
76: TLabel *POP3PortLabel;
77: TEdit *POP3PortEdit;
78: TCheckBox *POP3LogCheckBox;
79: TCheckBox *POP3EnabledCheckBox;
80: TTabSheet *SendMailTabSheet;
81: TRadioButton *DNSRadioButton;
82: TEdit *DNSServerEdit;
83: TCheckBox *TcpDnsCheckBox;
84: TRadioButton *RelayRadioButton;
85: TLabel *DeliveryAttemptsLabel;
86: TEdit *DeliveryAttemptsEdit;
87: TLabel *RescanFreqLabel;
88: TEdit *RescanFreqEdit;
89: TCheckBox *DebugHeadersCheckBox;
90: TTabSheet *SoundTabSheet;
91: TLabel *SMTPSoundLabel;
92: TEdit *InboundSoundEdit;
93: TButton *InboundSoundButton;
94: TLabel *POP3SoundLabel;
95: TEdit *POP3SoundEdit;
96: TButton *POP3SoundButton;
97: TLabel *OutboundSoundLabel;
98: TEdit *OutboundSoundEdit;
99: TButton *OutboundSoundButton;
100: TCheckBox *SendMailCheckBox;
1.1.1.2 ! root 101: TLabel *DefaultUserLabel;
! 102: TEdit *DefaultUserEdit;
! 103: TCheckBox *AllowRelayCheckBox;
! 104: TTabSheet *DNSBLTabSheet;
! 105: TButton *DNSBLServersButton;
! 106: TLabel *Label1;
! 107: TGroupBox *DNSBLGroupBox;
! 108: TRadioButton *BLRefuseRadioButton;
! 109: TRadioButton *BLIgnoreRadioButton;
! 110: TRadioButton *BLBadUserRadioButton;
! 111: TRadioButton *BLTagRadioButton;
! 112: TEdit *BLSubjectEdit;
! 113: TEdit *BLHeaderEdit;
! 114: TLabel *BLSubjectLabel;
! 115: TLabel *BLHeaderLabel;
! 116: TEdit *LinesPerYieldEdit;
! 117: TLabel *LinesPerYieldLabel;
! 118: TLabel *MaxRecipientsLabel;
! 119: TEdit *MaxRecipientsEdit;
! 120: TButton *DNSBLExemptionsButton;
! 121: TCheckBox *DebugRXCheckBox;
! 122: TCheckBox *BLDebugCheckBox;
! 123: TLabel *MaxMsgSizeLabel;
! 124: TEdit *MaxMsgSizeEdit;
! 125: TCheckBox *AuthViaIpCheckBox;
! 126: TCheckBox *NotifyCheckBox;
! 127: TTabSheet *RelayTabSheet;
! 128: TEdit *RelayServerEdit;
! 129: TEdit *RelayPortEdit;
! 130: TLabel *RelayPortLabel;
! 131: TLabel *DNSServerLabel;
! 132: TLabel *RelayServerLabel;
! 133: TGroupBox *RelayAuthGroupBox;
! 134: TRadioButton *RelayAuthNoneRadioButton;
! 135: TRadioButton *RelayAuthPlainRadioButton;
! 136: TRadioButton *RelayAuthLoginRadioButton;
! 137: TRadioButton *RelayAuthCramMD5RadioButton;
! 138: TLabel *RelayAuthNameLabel;
! 139: TEdit *RelayAuthNameEdit;
! 140: TLabel *RelayAuthPassLabel;
! 141: TEdit *RelayAuthPassEdit;
1.1 root 142: void __fastcall InboundSoundButtonClick(TObject *Sender);
143: void __fastcall OutboundSoundButtonClick(TObject *Sender);
144: void __fastcall FormShow(TObject *Sender);
145: void __fastcall OKBtnClick(TObject *Sender);
146: void __fastcall POP3SoundButtonClick(TObject *Sender);
147: void __fastcall DNSRadioButtonClick(TObject *Sender);
148: void __fastcall POP3EnabledCheckBoxClick(TObject *Sender);
149: void __fastcall SendMailCheckBoxClick(TObject *Sender);
1.1.1.2 ! root 150: void __fastcall DNSBLRadioButtonClick(TObject *Sender);
! 151: void __fastcall DNSBLServersButtonClick(TObject *Sender);
! 152: void __fastcall DNSBLExemptionsButtonClick(TObject *Sender);
! 153: void __fastcall AllowRelayCheckBoxClick(TObject *Sender);
! 154: void __fastcall RelayAuthRadioButtonClick(TObject *Sender);
1.1 root 155: private:
156: public:
157: virtual __fastcall TMailCfgDlg(TComponent* AOwner);
158: };
159: //----------------------------------------------------------------------------
160: extern PACKAGE TMailCfgDlg *MailCfgDlg;
161: //----------------------------------------------------------------------------
162: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.