diff options
author | eportnov <eportnov@ibs.ru> | 2022-09-14 12:22:28 +0300 |
---|---|---|
committer | eportnov <eportnov@ibs.ru> | 2022-09-14 12:33:40 +0300 |
commit | a2aeb219b8fa68ea05b79783c03b6f8ffc37558d (patch) | |
tree | fee97c3d1b032fa788412defb9c3d16b161d61f8 /src/message/sender.hpp | |
parent | 4a1c272dc8c5bbc4cc75ca4b68b04bd4d1089383 (diff) | |
download | obmc-sila-smtp-a2aeb219b8fa68ea05b79783c03b6f8ffc37558d.tar.xz |
add reload settings before readingdevtool-patcheddevtool-base
Diffstat (limited to 'src/message/sender.hpp')
-rw-r--r-- | src/message/sender.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/message/sender.hpp b/src/message/sender.hpp index 11afd6f..ca2c3ff 100644 --- a/src/message/sender.hpp +++ b/src/message/sender.hpp @@ -17,7 +17,7 @@ namespace smtp::message class Sender { public: - Sender( manage::Settings const& settings_storage, manage::Mail const& mail_to ); + Sender( manage::Settings& settings_storage, manage::Mail const& mail_to ); ~Sender() = default; bool Send( std::string const& mail_from, std::string const& subject, std::string const& text ); @@ -28,7 +28,7 @@ namespace smtp::message std::string GetHostPortData() const; static size_t ReadCallBack( void *ptr, size_t size, size_t nmemb, void *userp ); - manage::Settings const& mSettingsStorage; + manage::Settings& mSettingsStorage; manage::Mail const& mMailTo; bool InitCurl( CURL* curl, WriteThis const& upload_ctx, std::string const& mail_from ); |