summaryrefslogtreecommitdiff
path: root/src/managment/mail.hpp
diff options
context:
space:
mode:
authoreportnov <eportnov@ibs.ru>2022-09-13 11:13:38 +0300
committereportnov <eportnov@ibs.ru>2022-09-13 11:13:38 +0300
commita58088ec7a45bb86b155a8ef9514b35b0ba8d1c9 (patch)
tree95a796ba075edb1abf4edea29a11544fa7344754 /src/managment/mail.hpp
parentdf33492b80495fd36a1a488c0b0a39753f1df415 (diff)
parentdcbaf61e4968734d9b3bc41f704ea04d54746cea (diff)
downloadobmc-sila-smtp-a58088ec7a45bb86b155a8ef9514b35b0ba8d1c9.tar.xz
Merge branch 'feature/mail_user_managment'
Diffstat (limited to 'src/managment/mail.hpp')
-rw-r--r--src/managment/mail.hpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/managment/mail.hpp b/src/managment/mail.hpp
new file mode 100644
index 0000000..5e14831
--- /dev/null
+++ b/src/managment/mail.hpp
@@ -0,0 +1,23 @@
+#pragma once
+
+#include <list>
+#include <string>
+
+#include "file/mail.hpp"
+
+namespace smtp::manage
+{
+ class Mail
+ {
+ public:
+ explicit Mail( file::Mail const& file_reader);
+ ~Mail() = default;
+
+ std::list<std::string> GetMailToSend() const;
+ bool AddMailToSend();
+ bool DeleteMailToSend( std::string const& mail_to_send );
+ private:
+ std::list<std::string> mMails;
+ };
+
+}