1 #ifndef __IMAPService_h__ 2 #define __IMAPService_h__ 34 IMAPService(core::EPoll &epoll, std::string
hostName, std::string mailPath, core::IPAddress ipAddress)
35 : TCPServer(epoll, ipAddress),
mailFileSystem(mailPath), hostName(hostName) {
36 commands.add(_imap_append,
"APPEND");
37 commands.add(_imap_authenticate,
"AUTHENTCATE");
38 commands.add(_imap_check,
"CHECK");
39 commands.add(_imap_close,
"CLOSE");
40 commands.add(_imap_copy,
"COPY");
41 commands.add(_imap_create,
"CREATE");
42 commands.add(_imap_delete,
"DELETE");
43 commands.add(_imap_examine,
"EXAAMINE");
44 commands.add(_imap_expunge,
"EXPUNGE");
45 commands.add(_imap_fetch,
"FETCH");
46 commands.add(_imap_list,
"LIST");
47 commands.add(_imap_login,
"LOGIN");
48 commands.add(_imap_lsub,
"LSUB");
49 commands.add(_imap_rename,
"RENAME");
50 commands.add(_imap_search,
"SEARCH");
51 commands.add(_imap_select,
"SELECT");
52 commands.add(_imap_starttls,
"STARTTLS");
53 commands.add(_imap_status,
"STATUS");
54 commands.add(_imap_store,
"STORE");
55 commands.add(_imap_subscribe,
"SUBSCRIBE");
56 commands.add(_imap_uid,
"UID");
57 commands.add(_imap_unsubscribe,
"UNSUBSCRIBE");
Definition: __IMAP_LSUB.h:9
Definition: MailFileSystem.h:10
Definition: __IMAP_STARTTLS.h:9
Definition: __IMAP_EXAMINE.h:9
Definition: __IMAP_CHECK.h:9
Definition: __IMAP_LOGIN.h:9
Definition: __IMAP_APPEND.h:9
Definition: __IMAP_EXPUNGE.h:9
Definition: __IMAP_APPEND.h:7
std::string hostName
Definition: IMAPService.h:61
Definition: __IMAP_STORE.h:9
Definition: __IMAP_COPY.h:9
Definition: __IMAP_AUTHENTICATE.h:9
Definition: __IMAP_UID.h:9
IMAPService(core::EPoll &epoll, std::string hostName, std::string mailPath, core::IPAddress ipAddress)
Definition: IMAPService.h:34
Definition: __IMAP_SEARCH.h:9
Definition: __IMAP_FETCH.h:9
Definition: __IMAP_LIST.h:9
Definition: __IMAP_CLOSE.h:9
Definition: __IMAP_SELECT.h:9
Definition: IMAPService.h:31
Definition: __IMAP_STATUS.h:9
Definition: __IMAP_RENAME.h:9
Definition: __IMAP_DELETE.h:9
Definition: __IMAP_CREATE.h:9
Definition: __IMAP_UNSUBSCRIBE.h:9
MailFileSystem mailFileSystem
Definition: IMAPService.h:60
Definition: __IMAP_SUBSCRIBE.h:9