# BMAMail: /home/bradarant/barant/BMAMail/__SMTP_QUIT.h Source File

/home/bradarant/barant/BMAMail/__SMTP_QUIT.h
Go to the documentation of this file.
#ifndef ____SMTP_QUIT_h__
# define ____SMTP_QUIT_h__
# include "SMTPCommand.h"
namespace mail {
class __SMTP_QUIT : public SMTPCommand {
int processCommand(coreutils::PString request, SMTPSession &session, std::stringstream &data) {
data << "221 " << session.service.hostName << CRLF;
session.shutdown();
}
};
}
#endif
mail::__SMTP_QUIT
Definition: __SMTP_QUIT.h:8
mail
Definition: __IMAP_APPEND.h:7
SMTPCommand.h
mail::SMTPCommand
Definition: SMTPCommand.h:9
CRLF
#define CRLF
Definition: SMTPSession.h:7
mail::SMTPSession
Definition: SMTPSession.h:15