oasys::BasicSMTPMsg Class Reference

#include <BasicSMTP.h>

List of all members.


Detailed Description

Simple struct for a mail message

Definition at line 29 of file BasicSMTP.h.

Public Member Functions

 BasicSMTPMsg ()
 BasicSMTPMsg (const std::string &from, const std::string &to, const std::string &msg)
bool valid ()
void clear ()

Public Attributes

std::string from_
std::vector< std::string > to_
std::string msg_


Constructor & Destructor Documentation

oasys::BasicSMTPMsg::BasicSMTPMsg (  )  [inline]

Definition at line 35 of file BasicSMTP.h.

oasys::BasicSMTPMsg::BasicSMTPMsg ( const std::string &  from,
const std::string &  to,
const std::string &  msg 
) [inline]

Definition at line 36 of file BasicSMTP.h.

References from_, msg_, to_, and oasys::tokenize().


Member Function Documentation

bool oasys::BasicSMTPMsg::valid (  )  [inline]

Definition at line 45 of file BasicSMTP.h.

References from_, msg_, and to_.

Referenced by oasys::BasicSMTPHandler::smtp_DATA_end().

void oasys::BasicSMTPMsg::clear (  )  [inline]

Definition at line 51 of file BasicSMTP.h.

References from_, msg_, and to_.

Referenced by oasys::BasicSMTPHandler::smtp_DATA_end().


Member Data Documentation

std::string oasys::BasicSMTPMsg::from_

Definition at line 31 of file BasicSMTP.h.

Referenced by BasicSMTPMsg(), clear(), oasys::BasicSMTPSender::get_MAIL_from(), oasys::BasicSMTPHandler::smtp_MAIL(), and valid().

std::vector<std::string> oasys::BasicSMTPMsg::to_

Definition at line 32 of file BasicSMTP.h.

Referenced by BasicSMTPMsg(), clear(), oasys::BasicSMTPSender::get_RCPT_list(), oasys::BasicSMTPHandler::smtp_RCPT(), and valid().

std::string oasys::BasicSMTPMsg::msg_

Definition at line 33 of file BasicSMTP.h.

Referenced by BasicSMTPMsg(), clear(), oasys::BasicSMTPSender::get_DATA(), oasys::BasicSMTPHandler::smtp_DATA_begin(), oasys::BasicSMTPHandler::smtp_DATA_line(), and valid().


The documentation for this class was generated from the following file:
Generated on Thu Jun 7 12:54:36 2007 for DTN Reference Implementation by  doxygen 1.5.1