1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2009, 2013, 2016 - TortoiseGit
5 // This program is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU General Public License
7 // as published by the Free Software Foundation; either version 2
8 // of the License, or (at your option) any later version.
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software Foundation,
17 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 #include "SettingsPropPage.h"
22 // CSettingSMTP dialog
24 class CSettingSMTP
: public ISettingsPropPage
26 DECLARE_DYNAMIC(CSettingSMTP
)
30 virtual ~CSettingSMTP();
31 UINT
GetIconID() { return IDI_MENUSENDMAIL
; }
34 enum { IDD
= IDD_SETTINGSMTP
};
38 afx_msg
void OnModified();
39 afx_msg
void OnModifiedEncryptionCombo();
40 afx_msg
void OnModifiedDeliveryCombo();
43 virtual void DoDataExchange(CDataExchange
* pDX
); // DDX/DDV support
47 CComboBox m_SMTPDeliveryTypeCombo
;
48 CComboBox m_SMTPEncryptionCombo
;
50 afx_msg
void OnBnClickedSmtpAuth();
51 afx_msg
void OnBnClickedSmtpUseconfiguredserver();
54 CRegDWORD m_regDeliveryType
;
55 CRegString m_regServer
;
57 CRegDWORD m_regEncryption
;
58 CRegDWORD m_regAuthenticate
;
60 DWORD m_dwDeliveryType
;
61 DWORD m_dwSMTPEnrcyption
;