/home/bradarant/barant/BMAMail/__SMTP_HELO.h
Go to the documentation of this file.
#ifndef ____SMTP_HELO_h__
# define ____SMTP_HELO_h__
# include "SMTPCommand.h"
# include "SMTPSession.h"
namespace mail {
class __SMTP_HELO : public SMTPCommand {
int processCommand(coreutils::PString request, SMTPSession &session, std::stringstream &data) {
string clientName = request[1].str();
data << "250 " << session.service.hostName << CRLF;
state = READY;
}
};
}
#endif
SMTPSession.h
mail::READY
Definition: SMTPSession.h:11
mail
Definition: __IMAP_APPEND.h:7
mail::__SMTP_HELO
Definition: __SMTP_HELO.h:9
SMTPCommand.h
mail::SMTPCommand
Definition: SMTPCommand.h:9
CRLF
#define CRLF
Definition: SMTPSession.h:7
mail::SMTPSession
Definition: SMTPSession.h:15