#include "__SMTP_HELP.h" #include "SMTPServer.h" namespace mail { int __SMTP_HELP::processCommand(coreutils::ZString &request, SMTPSession &session, SMTPServer &server) { // Usable at any point; must not disturb a transaction (RFC 5321 4.1.1). session.out << "214-2.0.0 " << server.hostName << " BARANTMail. Commands:" << CRLF; session.out << "214-2.0.0 EHLO HELO MAIL RCPT DATA RSET NOOP QUIT VRFY HELP" << CRLF; session.out << "214-2.0.0 STARTTLS AUTH" << CRLF; session.out << "214 2.0.0 End of HELP" << CRLF; return 1; } }