|
|
1.1 root 1: /* Synchronet Control Panel (GUI Borland C++ Builder Project for Win32) */
2:
3: /* $Id: MailCfgDlgUnit.h,v 1.17 2006/12/27 06:30:13 rswindell Exp $ */
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 2005 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: #include <CheckLst.hpp>
53: //----------------------------------------------------------------------------
54: class TMailCfgDlg : public TForm
55: {
56: __published:
57: TButton *OKBtn;
58: TButton *CancelBtn;
59: TOpenDialog *OpenDialog;
60: TButton *ApplyButton;
61: TPageControl *PageControl;
62: TTabSheet *GeneralTabSheet;
63: TCheckBox *AutoStartCheckBox;
64: TLabel *InterfaceLabel;
65: TEdit *NetworkInterfaceEdit;
66: TLabel *MaxClientsLabel;
67: TEdit *MaxClientsEdit;
68: TLabel *MaxInactivityLabel;
69: TEdit *MaxInactivityEdit;
70: TTabSheet *SMTPTabSheet;
71: TLabel *TelnetPortLabel;
72: TEdit *SMTPPortEdit;
73: TCheckBox *HostnameCheckBox;
74: TCheckBox *DebugTXCheckBox;
75: TCheckBox *LogFileCheckBox;
76: TTabSheet *POP3TabSheet;
77: TLabel *POP3PortLabel;
78: TEdit *POP3PortEdit;
79: TCheckBox *POP3LogCheckBox;
80: TCheckBox *POP3EnabledCheckBox;
81: TTabSheet *SendMailTabSheet;
82: TRadioButton *DNSRadioButton;
83: TEdit *DNSServerEdit;
84: TCheckBox *TcpDnsCheckBox;
85: TRadioButton *RelayRadioButton;
86: TLabel *DeliveryAttemptsLabel;
87: TEdit *DeliveryAttemptsEdit;
88: TLabel *RescanFreqLabel;
89: TEdit *RescanFreqEdit;
90: TCheckBox *DebugHeadersCheckBox;
91: TTabSheet *SoundTabSheet;
92: TLabel *SMTPSoundLabel;
93: TEdit *InboundSoundEdit;
94: TButton *InboundSoundButton;
95: TLabel *POP3SoundLabel;
96: TEdit *POP3SoundEdit;
97: TButton *POP3SoundButton;
98: TLabel *OutboundSoundLabel;
99: TEdit *OutboundSoundEdit;
100: TButton *OutboundSoundButton;
101: TCheckBox *SendMailCheckBox;
102: TLabel *DefaultUserLabel;
103: TEdit *DefaultUserEdit;
104: TCheckBox *AllowRelayCheckBox;
105: TTabSheet *DNSBLTabSheet;
106: TButton *DNSBLServersButton;
107: TLabel *Label1;
108: TGroupBox *DNSBLGroupBox;
109: TRadioButton *BLRefuseRadioButton;
110: TRadioButton *BLIgnoreRadioButton;
111: TRadioButton *BLBadUserRadioButton;
112: TRadioButton *BLTagRadioButton;
113: TEdit *BLSubjectEdit;
114: TEdit *BLHeaderEdit;
115: TLabel *BLSubjectLabel;
116: TLabel *BLHeaderLabel;
117: TEdit *LinesPerYieldEdit;
118: TLabel *LinesPerYieldLabel;
119: TLabel *MaxRecipientsLabel;
120: TEdit *MaxRecipientsEdit;
121: TButton *DNSBLExemptionsButton;
122: TCheckBox *DebugRXCheckBox;
123: TCheckBox *BLDebugCheckBox;
124: TLabel *MaxMsgSizeLabel;
125: TEdit *MaxMsgSizeEdit;
126: TCheckBox *AuthViaIpCheckBox;
127: TCheckBox *NotifyCheckBox;
128: TTabSheet *RelayTabSheet;
129: TEdit *RelayServerEdit;
130: TEdit *RelayPortEdit;
131: TLabel *RelayPortLabel;
132: TLabel *DNSServerLabel;
133: TLabel *RelayServerLabel;
134: TGroupBox *RelayAuthGroupBox;
135: TRadioButton *RelayAuthNoneRadioButton;
136: TRadioButton *RelayAuthPlainRadioButton;
137: TRadioButton *RelayAuthLoginRadioButton;
138: TRadioButton *RelayAuthCramMD5RadioButton;
139: TLabel *RelayAuthNameLabel;
140: TEdit *RelayAuthNameEdit;
141: TLabel *RelayAuthPassLabel;
142: TEdit *RelayAuthPassEdit;
143: TTabSheet *AdvancedTabSheet;
144: TCheckListBox *AdvancedCheckListBox;
145: TLabel *DefCharsetLabel;
146: TEdit *DefCharsetEdit;
147: void __fastcall InboundSoundButtonClick(TObject *Sender);
148: void __fastcall OutboundSoundButtonClick(TObject *Sender);
149: void __fastcall FormShow(TObject *Sender);
150: void __fastcall OKBtnClick(TObject *Sender);
151: void __fastcall POP3SoundButtonClick(TObject *Sender);
152: void __fastcall DNSRadioButtonClick(TObject *Sender);
153: void __fastcall POP3EnabledCheckBoxClick(TObject *Sender);
154: void __fastcall SendMailCheckBoxClick(TObject *Sender);
155: void __fastcall DNSBLRadioButtonClick(TObject *Sender);
156: void __fastcall DNSBLServersButtonClick(TObject *Sender);
157: void __fastcall DNSBLExemptionsButtonClick(TObject *Sender);
158: void __fastcall AllowRelayCheckBoxClick(TObject *Sender);
159: void __fastcall RelayAuthRadioButtonClick(TObject *Sender);
160: private:
161: public:
162: virtual __fastcall TMailCfgDlg(TComponent* AOwner);
163: };
164: //----------------------------------------------------------------------------
165: extern PACKAGE TMailCfgDlg *MailCfgDlg;
166: //----------------------------------------------------------------------------
167: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.