summaryrefslogtreecommitdiff
path: root/src/strusCms.cpp
diff options
context:
space:
mode:
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" );