From 9fa4addff6f90a8b5697a594e034f5517d64dd25 Mon Sep 17 00:00:00 2001 From: eportnov Date: Fri, 9 Sep 2022 11:10:14 +0300 Subject: first comit --- src/main.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/main.cpp (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp new file mode 100644 index 0000000..ba2848d --- /dev/null +++ b/src/main.cpp @@ -0,0 +1,14 @@ +#include + +#include "smtp_service.hpp" + +int main() +{ + boost::asio::io_service io_context; + + auto connection = std::make_shared( io_context ); + smtp::SmtpService smtp{ connection }; + + io_context.run(); + return 0; +} -- cgit v1.2.3