summaryrefslogtreecommitdiff
path: root/src/strusCms.cpp
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2015-04-29 18:58:07 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2015-04-29 18:58:07 +0200
commitcb69299b9d59db0888e942025ae4915c6f32d066 (patch)
treefcb85301442a9eda1ed9d60a8ba52d8c60f11114 /src/strusCms.cpp
parentfa132310bf61c115907e5c237333207f308b1de4 (diff)
downloadaCms-cb69299b9d59db0888e942025ae4915c6f32d066.tar.gz
aCms-cb69299b9d59db0888e942025ae4915c6f32d066.tar.bz2
added libquickmail and email registration
Diffstat (limited to 'src/strusCms.cpp')
-rw-r--r--src/strusCms.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/strusCms.cpp b/src/strusCms.cpp
index e5792ec..137a209 100644
--- a/src/strusCms.cpp
+++ b/src/strusCms.cpp
@@ -10,7 +10,13 @@ strusCms::strusCms( cppcms::service &srv )
: cppcms::application( srv ),
intro( *this ),
user( *this ),
- conn( settings( ).get<std::string>( "strusCms.db_connection" ) )
+ conn( settings( ).get<std::string>( "strusCms.db_connection" ) ),
+ mail( settings( ).get<std::string>( "strusCms.mail.server" ),
+ settings( ).get<unsigned short>( "strusCms.mail.port" ),
+ settings( ).get<std::string>( "strusCms.mail.username" ),
+ settings( ).get<std::string>( "strusCms.mail.password" ),
+ settings( ).get<std::string>( "strusCms.mail.from" )
+ )
{
locale_name = "en";
script = settings( ).get<std::string>( "strusCms.script" );