summaryrefslogtreecommitdiff
path: root/src/service/smtp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/service/smtp.cpp')
-rw-r--r--src/service/smtp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service/smtp.cpp b/src/service/smtp.cpp
index 81a3f0d..3c70856 100644
--- a/src/service/smtp.cpp
+++ b/src/service/smtp.cpp
@@ -15,7 +15,7 @@ namespace smtp::service
CreateSettingsManagerInterface( connection );
CreateMailManagerInterface( connection );
- message::QueueSender sender{ mSettingsStorage, mMailTo, mMessageQueue };
+ message::QueueSender sender{ mSettingsStorage, mMailTo, mMessageQueue, connection };
std::thread sender_message( &message::QueueSender::SendMessages, std::move(sender) );
sender_message.detach();
}