summaryrefslogtreecommitdiff
path: root/src/managment/mail.hpp
blob: 5e1483190884e608a135bef0720ae1a90b767fcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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;
    };

}