- ultimatetcp-ip42_src.zip
- Ultimate TCP-IP
- Include
- license.htm
- ReadMe.htm
- Security
- Include
- Lib
- TestCert.pfx
- Res
- certif.bmp
- certif_m.bmp
- icon_cer_l.ico
- icon_cer_s.ico
- key.bmp
- location.bmp
- location_m.bmp
- location_s.bmp
- location_s_m.bmp
- SecurityRes.h
- SecurityRes.rc
- store.bmp
- store_m.bmp
- SecureServers
- Source
- UTSecureLayer
- Servers
- source
- ultimatetcp-ip42_samples.zip
- ActiveX
- BuildAll
- Demos
- Examples
- Client
- ASP
- MFC
- Imap4
- Nntp
- SDK
- DNS
- Finger
- Ftp
- History
- Http
- Mail
- MX Lookup
- Ping
- UDP
- VisualBasic
- Dns
- Finger
- Ftp
- History
- Http
- Imap4
- Mail
- MartsMail
- Nntp
- Ping
- Socket
- UDPSocket
- Master.dsw
- Master.sln
- Server
- ASP
- MFC
- SampleServer
- SDK
- AccessControlServerDemo
- Finger
- Ftp
- Http
- Mail
- VisualBasic
- service
- svrtest
- Examples
- Client
- Echo
- FTPs
- Https
- Imap4s
- Mail
- MasterS.dsw
- MasterS.sln
- Server
- Echo
- FTPs
- Https
- Mail
- Test_Del
- Util
- CertManager
- ultimatetcp-ip42_docs.zip
|
//=================================================================
// class: CUT_SMTPMailClient, CUT_POP3MailClient
// File: MailClient.h
//
// Implementation of CUT_SMTPMailClient, CUT_POP3MailClient
//
//=================================================================
// Ultimate TCP/IP v4.2
// This software along with its related components, documentation and files ("The Libraries")
// is � 1994-2007 The Code Project (1612916 Ontario Limited) and use of The Libraries is
// governed by a software license agreement ("Agreement"). Copies of the Agreement are
// available at The Code Project (www.codeproject.com), as part of the package you downloaded
// to obtain this file, or directly from our office. For a copy of the license governing
// this software, you may contact us at legalaffairs@codeproject.com, or by calling 416-849-8900.
//=================================================================
#ifndef __MAILCLIENT_H_
#define __MAILCLIENT_H_
#include "resource.h" // main symbols
#include <atlctl.h>
#include "ut_clnt.h"
#include "pop3_c.h"
#include "smtp_c.h"
////////////////////////////////////////////////////////////////////
// SMTP Mail class
////////////////////////////////////////////////////////////////////
class CUT_SMTPMailClient : protected CUT_SMTPClient {
protected:
BOOL m_bAbortFlag; // TRUE if we are going to abort finger
public:
CUT_SMTPMailClient();
~CUT_SMTPMailClient();
// Delegated function to be invoked to inform us of the message send progress
virtual BOOL OnSendMailProgress(long bytesSent,long totalBytes);
// Return TRUE if we are going to abort operation
virtual BOOL IsAborted();
};
////////////////////////////////////////////////////////////////////
// POP3 Mail class
////////////////////////////////////////////////////////////////////
class CUT_POP3MailClient : protected CUT_POP3Client {
protected:
BOOL m_bAbortFlag; // TRUE if we are going to abort finger
public:
CUT_POP3MailClient();
~CUT_POP3MailClient();
// Virtual function to be overridden to report the save message progress
virtual BOOL OnSaveMsg(long bytesRetrieved);
// Return TRUE if we are going to abort operation
virtual BOOL IsAborted();
};
#endif
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
In January 2005, David Cunningham and Chris Maunder created TheUltimateToolbox.com, a new group dedicated to the continued development, support and growth of Dundas Software’s award winning line of MFC, C++ and ActiveX control products.
Ultimate Grid for MFC, Ultimate Toolbox for MFC, and Ultimate TCP/IP have been stalwarts of C++/MFC development for a decade. Thousands of developers have used these products to speed their time to market, improve the quality of their finished products, and enhance the reliability and flexibility of their software.