/home/bradarant/barant/BMAMail/__SMTP_EXPN.h
Go to the documentation of this file.
#ifndef ____SMTP_EHLO_h__
#define ____SMTP_EHLO_h__
#include "Command.h"
namespace mail {
class __SMTP_EHLO : public core::Command {
int processCommand(coreutils::PString request, Session *session, std::stringstream &data) {
session->clientDomainName = request[1].str();
data << "250-" << getHostName() << CRLF;
// cout << "250-STARTTLS" << CRLF;
// cout << "250-PIPELINING" << CRLF;
// cout << "250-8BITMIME" << CRLF;
data << "250-AUTH LOGIN" << CRLF;
data << "250 HELP" << CRLF;
session->state = "READY";
}
mail
Definition: __IMAP_APPEND.h:7
CRLF
#define CRLF
Definition: SMTPSession.h:7