EmailParams.cpp
上传用户:jpdph_love
上传日期:2013-04-11
资源大小:116k
文件大小:1k
- // EmailParams.cpp : implementation file
- //
- #include "stdafx.h"
- #include "SendEmail.h"
- #include "EmailParams.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CEmailParams dialog
- CEmailParams::CEmailParams(CWnd* pParent /*=NULL*/)
- : CDialog(CEmailParams::IDD, pParent)
- {
- //{{AFX_DATA_INIT(CEmailParams)
- m_strAddr = _T("");
- m_strFrom = _T("");
- m_strServer = _T("");
- m_strMessage = _T("");
- m_strSubject = _T("");
- //}}AFX_DATA_INIT
- }
- void CEmailParams::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CEmailParams)
- DDX_Text(pDX, IDC_EMAILADDRESS, m_strAddr);
- DDX_Text(pDX, IDC_FROM, m_strFrom);
- DDX_Text(pDX, IDC_MAILSERVER, m_strServer);
- DDX_Text(pDX, IDC_MESSAGE, m_strMessage);
- DDV_MaxChars(pDX, m_strMessage, 300);
- DDX_Text(pDX, IDC_SUBJECT, m_strSubject);
- //}}AFX_DATA_MAP
- }
- BEGIN_MESSAGE_MAP(CEmailParams, CDialog)
- //{{AFX_MSG_MAP(CEmailParams)
- // NOTE: the ClassWizard will add message map macros here
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CEmailParams message handlers