oasys::SMTPSender Class Reference

#include <SMTP.h>

Inheritance diagram for oasys::SMTPSender:

oasys::BasicSMTPSender

List of all members.


Detailed Description

Interface for class to send an outgoing SMTP message. XXX/demmer

Definition at line 95 of file SMTP.h.


Public Member Functions

virtual ~SMTPSender ()
virtual int smtp_error (int code)=0
 handle unexpected return code from server
virtual void get_HELO_domain (std::string *domain)=0
virtual void get_MAIL_from (std::string *from)=0
virtual void get_RCPT_list (std::vector< std::string > *to)=0
virtual void get_RECEIVED (std::string *received)
virtual void get_DATA (const std::string **data)=0

Constructor & Destructor Documentation

virtual oasys::SMTPSender::~SMTPSender (  )  [inline, virtual]

Definition at line 97 of file SMTP.h.


Member Function Documentation

virtual void oasys::SMTPSender::get_HELO_domain ( std::string *  domain  )  [pure virtual]

Returns:
-1 to disconnect, otherwise error code given in response code.

Implemented in oasys::BasicSMTPSender.

Referenced by oasys::SMTP::client_session().

virtual void oasys::SMTPSender::get_MAIL_from ( std::string *  from  )  [pure virtual]

Returns:
-1 to disconnect, otherwise error code given in response code.

Implemented in oasys::BasicSMTPSender.

Referenced by oasys::SMTP::client_session().

virtual void oasys::SMTPSender::get_RCPT_list ( std::vector< std::string > *  to  )  [pure virtual]

Returns:
-1 to disconnect, otherwise error code given in response code.

Implemented in oasys::BasicSMTPSender.

Referenced by oasys::SMTP::client_session().

virtual void oasys::SMTPSender::get_RECEIVED ( std::string *  received  )  [inline, virtual]

Returns:
-1 to disconnect, otherwise error code given in response code.

Definition at line 104 of file SMTP.h.

Referenced by oasys::SMTP::client_session().

virtual void oasys::SMTPSender::get_DATA ( const std::string **  data  )  [pure virtual]

Returns:
-1 to disconnect, otherwise error code given in response code.

Implemented in oasys::BasicSMTPSender.

Referenced by oasys::SMTP::client_session().

virtual int oasys::SMTPSender::smtp_error ( int  code  )  [pure virtual]

handle unexpected return code from server

Implemented in oasys::BasicSMTPSender.


The documentation for this class was generated from the following file:
Generated on Sat Sep 8 08:43:53 2007 for DTN Reference Implementation by  doxygen 1.5.3