BMAMail  1.0.0
E-Mail System
/home/bradarant/barant/BMAMail/__SMTP_QUIT.h
Go to the documentation of this file.
1 #ifndef ____SMTP_QUIT_h__
2 # define ____SMTP_QUIT_h__
3 
4 # include "SMTPCommand.h"
5 
6 namespace mail {
7 
8  class __SMTP_QUIT : public SMTPCommand {
9 
10  int processCommand(coreutils::PString request, SMTPSession &session, std::stringstream &data) {
11  data << "221 " << session.service.hostName << CRLF;
12  session.shutdown();
13  }
14 
15  };
16 
17 }
18 
19 #endif
Definition: __SMTP_QUIT.h:8
Definition: __IMAP_APPEND.h:7
Definition: SMTPCommand.h:9
#define CRLF
Definition: SMTPSession.h:7
Definition: SMTPSession.h:15