till
2008-02-25 e240d5b35b0c06310bb296e2850572bc13018ec0
* disabled smtp check if no smtp is configured ;) (thanks, Assid)



1 files modified
4 ■■■■ changed files
check.php-dist 4 ●●●● patch | view | raw | blame | history
check.php-dist
@@ -423,8 +423,12 @@
?> 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') {