Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
Pop3.h
Package: 视频会议系统.rar [view]
Upload User: popouu88
Upload Date: 2013-02-11
Package Size: 2894k
Code Size: 1k
Category:
VOIP program
Development Platform:
Visual C++
- // Pop3.h: interface for the CPop3 class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_POP3_H__7EECF240_B626_4B0D_A644_47E4F253CF7C__INCLUDED_)
- #define AFX_POP3_H__7EECF240_B626_4B0D_A644_47E4F253CF7C__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "winsock2.h"
- class CPop3
- {
- public:
- CPop3();
- virtual ~CPop3();
- //连接且登陆
- bool Connect( const char * username , const char * password , const char * ip , const int port = 110 );
- //列出邮件个数
- int List( void );
- //读取一封信
- bool Fetch( int index );
- //取得发件人
- const char * GetFrom( void );
- //取得收件人
- const char * GetTo( void );
- //取得标题
- const char * GetSubject( void );
- //取得正文
- const char * GetBody( void );
- //退出
- void Quit( void );
- private:
- SOCKET m_sock;
- static int initNumber;
- int mailNumber;
- CString mailString;
- int curIndex;
- CString from;
- CString to;
- CString subject;
- CString body;
- };
- #endif // !defined(AFX_POP3_H__7EECF240_B626_4B0D_A644_47E4F253CF7C__INCLUDED_)