diff options
| author | till <till@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-02-25 10:49:35 +0000 |
|---|---|---|
| committer | till <till@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-02-25 10:49:35 +0000 |
| commit | c16706c0c5102706831882a13cd849cd70e4f21c (patch) | |
| tree | 2a31173a8ab5b8ed612a8da2d5fb1c54545f5cb9 | |
| parent | 0a4d50ade202cd147fafd8b5ac3344f8aaa30f53 (diff) | |
* disabled smtp check if no smtp is configured ;) (thanks, Assid)
git-svn-id: https://svn.roundcube.net/trunk@1137 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/check.php-dist | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roundcubemail/check.php-dist b/roundcubemail/check.php-dist index 72b35030a..7fd943f99 100644 --- a/roundcubemail/check.php-dist +++ b/roundcubemail/check.php-dist @@ -423,8 +423,12 @@ endif; ?> Recipient:<br /> <?php echo $rctest_config['from']; ?><br /> <br /> +<?php if (!empty($rctest_config['smtp_server'])): ?> <input type="hidden" name="action" value="smtp" /> <input type="submit" value="send an email" /> +<?php else: ?> +<i>Because you did not configure SMTP, you cannot test it!</i> +<?php endif; ?> </form> <?php if ($_SERVER['REQUEST_METHOD'] == 'POST' && $_POST['action'] == 'smtp') { |
