summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-03-05 13:18:41 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-03-05 13:18:41 +0100
commitd583d61b6996b54c26326e5fa952bb4c2f4aa499 (patch)
treeabf5737cca599b56000107e92fd096e7cdd6cf07 /settings/templates
parent2cfd875e616fa0770441a17d6f96a9f5f45e8c3f (diff)
parent5b8cde48dc6d68a3921195b5367024b94abe14af (diff)
downloadnextcloud-server-d583d61b6996b54c26326e5fa952bb4c2f4aa499.tar.gz
nextcloud-server-d583d61b6996b54c26326e5fa952bb4c2f4aa499.zip
Merge pull request #7412 from owncloud/issue/7175
Add button to send a test mail after changing the email settings
Diffstat (limited to 'settings/templates')
-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">