[ROOT] --> small

class CSMTPConnection

Author:
unascribed

Version:
unknown

Source:
Smtp.h:155

Constructors Index

CSMTPConnection
[public]
~CSMTPConnection
[public]


Variables Index

m_bConnected
[protected]
m_dwTimeout
[protected]
m_nLastCommandResponseCode
[protected]
m_sLastCommandResponse
[protected]
m_SMTP
[protected]


Methods Index

Connect
[public]
Disconnect
[public]
GetLastCommandResponse
[public]
GetLastCommandResponseCode
[public]
GetTimeout
[public]
ReadCommandResponse
[protected]
ReadResponse
[protected]
SendMessage
[public]
SendRCPTForRecipient
[protected]
SetTimeout
[public]


Constructors

CSMTPConnection

public CSMTPConnection ( ) ;

CSMTPConnection

public ~ CSMTPConnection ( ) ;


Variables

m_SMTP

protected CSMTPSocket m_SMTP

m_bConnected

protected BOOL m_bConnected

m_sLastCommandResponse

protected CString m_sLastCommandResponse

m_dwTimeout

protected DWORD m_dwTimeout

m_nLastCommandResponseCode

protected int m_nLastCommandResponseCode


Methods

Connect

public BOOL Connect ( LPCTSTR pszHostName ,
                      int nPort = 25) ) ;

Disconnect

public BOOL Disconnect ( ) ;

GetLastCommandResponse

public CString GetLastCommandResponse ( ) const ;

GetLastCommandResponseCode

public int GetLastCommandResponseCode ( ) const ;

GetTimeout

public DWORD GetTimeout ( ) const ;

SetTimeout

public void SetTimeout ( DWORD dwTimeout ) ;

SendMessage

public BOOL SendMessage ( CSMTPMessage & Message ) ;

SendRCPTForRecipient

protected BOOL SendRCPTForRecipient ( CSMTPAddress & recipient ) ;

ReadCommandResponse

protected virtual BOOL ReadCommandResponse ( int nExpectedCode ) ;

ReadResponse

protected virtual BOOL ReadResponse ( LPSTR pszBuffer ,
                                      int nInitialBufSize ,
                                      LPSTR pszTerminator ,
                                      int nExpectedCode ,
                                      LPSTR * ppszOverFlowBuffer ,
                                      int nGrowBy = 4096) ) ;


This documentation was generated automatically by the ccdoc tool (version 0.7a).
Click here to submit a bug report or feature request.

Click here to return to the top of the page.