summaryrefslogtreecommitdiffstats
path: root/settings/templates/admin.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-02-26 12:13:20 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-03-05 10:01:34 +0100
commit5b8cde48dc6d68a3921195b5367024b94abe14af (patch)
tree0675ce506a9f32ddda610afaf76d623c6dde5ce8 /settings/templates/admin.php
parent2f0db9af07013655393ba199a1890fbf0e55ba0f (diff)
downloadnextcloud-server-5b8cde48dc6d68a3921195b5367024b94abe14af.tar.gz
nextcloud-server-5b8cde48dc6d68a3921195b5367024b94abe14af.zip
Add button to send a test mail after changing the email settings
Fix #7175
Diffstat (limited to 'settings/templates/admin.php')
-rw-r--r--settings/templates/admin.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index 139a9dd076c..487da036e74 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -272,7 +272,7 @@ if (!$_['internetconnectionworking']) {
</fieldset>
<fieldset id="mail_settings" class="personalblock">
- <h2><?php p($l->t('Email Server'));?> <span class="msg"></span></h2>
+ <h2><?php p($l->t('Email Server'));?> <span id="mail_settings_msg" class="msg"></span></h2>
<p><?php p($l->t('This is used for sending out notifications.')); ?></p>
@@ -347,6 +347,10 @@ if (!$_['internetconnectionworking']) {
placeholder="<?php p($l->t('SMTP Password'))?>" value='<?php p($_['mail_smtppassword']) ?>' />
</p>
+ <br />
+ <em><?php p($l->t( 'Test email settings' )); ?></em>
+ <input type="submit" name="sendtestemail" id="sendtestemail" value="<?php p($l->t( 'Send email' )); ?>"/>
+ <span id="sendtestmail_msg" class="msg"></span>
</fieldset>
<fieldset class="personalblock">