// PNSMTP.h: interface for the CSMTP class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_PNSMTP_H__1A3533C5_EA58_11D3_9F5C_080009EE62AA__INCLUDED_)
#define AFX_SMTP_H__1A3533C5_EA58_11D3_9F5C_080009EE62AA__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "PNCommandSocket.h"

class CPNSMTP : public CPNCommandSocket  
{
public:
	CString& GetErrMsg();
	CString m_Error;
	BOOL SendMail(LPCSTR From, LPCSTR To, LPCSTR Subject, LPCSTR Msg);
	BOOL Connect( LPCSTR lpszHostAddress, UINT nHostPort=25 );

};

#endif // !defined(AFX_PNSMTP_H__1A3533C5_EA58_11D3_9F5C_080009EE62AA__INCLUDED_)
