|
|
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.19 2009/08/14 08:58:15 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: * *
1.1.1.2 ! root 9: * Copyright 2009 Rob Swindell - http://www.synchro.net/copyright.html *
1.1 root 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;
1.1.1.2 ! root 71: TLabel *SMTPPortLabel;
1.1 root 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: 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;
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;
1.1.1.2 ! root 122: TCheckBox *DNSBLSpamHashCheckBox;
1.1 root 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;
142: TTabSheet *AdvancedTabSheet;
143: TCheckListBox *AdvancedCheckListBox;
144: TLabel *DefCharsetLabel;
145: TEdit *DefCharsetEdit;
1.1.1.2 ! root 146: TLabel *SubPortLabel;
! 147: TEdit *SubPortEdit;
! 148: TCheckBox *DebugHeadersCheckBox;
! 149: TCheckBox *UseSubPortCheckBox;
1.1 root 150: void __fastcall InboundSoundButtonClick(TObject *Sender);
151: void __fastcall OutboundSoundButtonClick(TObject *Sender);
152: void __fastcall FormShow(TObject *Sender);
153: void __fastcall OKBtnClick(TObject *Sender);
154: void __fastcall POP3SoundButtonClick(TObject *Sender);
155: void __fastcall DNSRadioButtonClick(TObject *Sender);
156: void __fastcall POP3EnabledCheckBoxClick(TObject *Sender);
157: void __fastcall SendMailCheckBoxClick(TObject *Sender);
158: void __fastcall DNSBLRadioButtonClick(TObject *Sender);
159: void __fastcall DNSBLServersButtonClick(TObject *Sender);
160: void __fastcall DNSBLExemptionsButtonClick(TObject *Sender);
161: void __fastcall AllowRelayCheckBoxClick(TObject *Sender);
162: void __fastcall RelayAuthRadioButtonClick(TObject *Sender);
1.1.1.2 ! root 163: void __fastcall UseSubPortCheckBoxClick(TObject *Sender);
1.1 root 164: private:
165: public:
166: virtual __fastcall TMailCfgDlg(TComponent* AOwner);
167: };
168: //----------------------------------------------------------------------------
169: extern PACKAGE TMailCfgDlg *MailCfgDlg;
170: //----------------------------------------------------------------------------
171: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.