1 #ifndef __SMTPService_h__ 2 # define __SMTPService_h__ 5 # include "TCPServer.h" 6 # include "IPAddress.h" 24 SMTPService(core::EPoll &epoll, std::string
hostName, std::string mailPath, core::IPAddress ipAddress)
25 : TCPServer(epoll, ipAddress),
mailFileSystem(mailPath), hostName(hostName) {
26 commands.add(_smtp_auth,
"AUTH");
27 commands.add(_smtp_data,
"DATA");
28 commands.add(_smtp_ehlo,
"EHLO");
29 commands.add(_smtp_helo,
"HELO");
30 commands.add(_smtp_mail,
"MAIL");
31 commands.add(_smtp_noop,
"NOOP");
32 commands.add(_smtp_quit,
"QUIT");
33 commands.add(_smtp_rcpt,
"RCPT");
34 commands.add(_smtp_rset,
"RSET");
35 commands.add(_smtp_vrfy,
"VRFY");
Definition: MailFileSystem.h:10
Definition: __SMTP_QUIT.h:8
Definition: __SMTP_AUTH.h:10
Definition: __SMTP_MAIL.h:9
Definition: __SMTP_RSET.h:8
std::string hostName
Definition: SMTPService.h:39
Definition: __IMAP_APPEND.h:7
Definition: __SMTP_HELO.h:9
Definition: __SMTP_EHLO.h:8
Definition: __SMTP_VRFY.h:9
Definition: SMTPService.h:21
SMTPService(core::EPoll &epoll, std::string hostName, std::string mailPath, core::IPAddress ipAddress)
Definition: SMTPService.h:24
Definition: __SMTP_DATA.h:8
MailFileSystem mailFileSystem
Definition: SMTPService.h:38
Definition: __SMTP_RCPT.h:10
Definition: __SMTP_NOOP.h:10