diff --git a/setup/inc/hook_config.inc.php b/setup/inc/hook_config.inc.php index 6c73b94f04..3563494ed4 100644 --- a/setup/inc/hook_config.inc.php +++ b/setup/inc/hook_config.inc.php @@ -235,6 +235,10 @@ function auth_type_activesync($config) { return _options_from(setup_cmd_config::auth_types(),$config['auth_type_activesync']); } +function auth_type_smtp($config) +{ + return _options_from(emailadmin_ui::getSMTPAuthConfig(),$config['smtpAuth']); +} /** * Returns options string diff --git a/setup/templates/default/config.tpl b/setup/templates/default/config.tpl index 4d6c1d7709..5d5d9ed7d4 100644 --- a/setup/templates/default/config.tpl +++ b/setup/templates/default/config.tpl @@ -184,7 +184,7 @@ - + {lang_Mail_server_login_type}: @@ -203,14 +203,18 @@ + {lang_SMTP-authentication_required}: + + + {lang_User_for_SMTP-authentication_(leave_it_empty_if_no_auth_required)}: - + {lang_Password_for_SMTP-authentication}: - +