mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 23:58:54 +01:00
more work regarding the implementation of the new feature that allows to specify smtp auth credentials for alarms/notifications only (otherwise credentials of corrent user are used)
This commit is contained in:
parent
e654d3fbfb
commit
d2f4d36355
@ -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
|
||||
|
@ -184,7 +184,7 @@
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row_on"">
|
||||
<tr class="row_on">
|
||||
<td>{lang_Mail_server_login_type}:</td>
|
||||
<td>
|
||||
<select name="newsettings[mail_login_type]">{hook_mail_login_type}</select>
|
||||
@ -203,14 +203,18 @@
|
||||
<td><input name="newsettings[smtp_port]" value="{value_smtp_port}"></td>
|
||||
</tr>
|
||||
<tr class="row_on">
|
||||
<td>{lang_SMTP-authentication_required}:</td>
|
||||
<td><select name="newsettings[smtpAuth]"> {hook_auth_type_smtp}</select></td>
|
||||
</tr>
|
||||
<tr class="row_off">
|
||||
<td>{lang_User_for_SMTP-authentication_(leave_it_empty_if_no_auth_required)}:</td>
|
||||
<td><input name="newsettings[smtp_auth_user]" value="{value_smtp_auth_user}"></td>
|
||||
</tr>
|
||||
<tr class="row_off">
|
||||
<tr class="row_on">
|
||||
<td>{lang_Password_for_SMTP-authentication}:</td>
|
||||
<td><input type="password" name="newsettings[smtp_auth_passwd]" value="{value_smtp_auth_passwd}"></td>
|
||||
</tr>
|
||||
<tr class="row_on">
|
||||
<tr class="row_off">
|
||||
<td colspan="2"> </td>
|
||||
</tr>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user