summaryrefslogtreecommitdiff
path: root/src/message/sender.hpp
diff options
context:
space:
mode:
authorclaiff <claiff@mail.ru>2022-09-21 15:50:24 +0300
committerclaiff <claiff@mail.ru>2022-09-21 15:50:24 +0300
commit6cfc7076808138be2ad5a2b05edd635b5948bf31 (patch)
tree3c7e38f17738c181437f482d05c66dde94f7c28a /src/message/sender.hpp
parent7a446d48b9270dbe2628b462a54a7a23ff43c572 (diff)
downloadobmc-sila-smtp-6cfc7076808138be2ad5a2b05edd635b5948bf31.tar.xz
add port errors check
Diffstat (limited to 'src/message/sender.hpp')
-rw-r--r--src/message/sender.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/message/sender.hpp b/src/message/sender.hpp
index ca2c3ff..ba5953e 100644
--- a/src/message/sender.hpp
+++ b/src/message/sender.hpp
@@ -5,8 +5,8 @@
#include <curl/curl.h>
-#include "managment/settings.hpp"
-#include "managment/mail.hpp"
+#include "management/settings.hpp"
+#include "management/mail.hpp"
namespace smtp::message
{
struct WriteThis
@@ -23,7 +23,6 @@ namespace smtp::message
bool Send( std::string const& mail_from, std::string const& subject, std::string const& text );
private:
void UpdateMailText( std::string const& mail_from, std::string const& subject, std::string const& textt ) const;
- void InitSenders( std::string const& mail_from, std::list<std::string> const& mail_to );
void FillRecipients(CURL* curl, curl_slist* recipients );
std::string GetHostPortData() const;
static size_t ReadCallBack( void *ptr, size_t size, size_t nmemb, void *userp );