From 6cfc7076808138be2ad5a2b05edd635b5948bf31 Mon Sep 17 00:00:00 2001 From: claiff Date: Wed, 21 Sep 2022 15:50:24 +0300 Subject: add port errors check --- src/message/sender.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/message/sender.hpp') 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 -#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 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 ); -- cgit v1.2.3