From dfe10ab6be3b63ced4ffef0c7591b20f3a9ffd71 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 10 Sep 2008 10:20:29 +0000 Subject: [PATCH] New: Add info on smtp/port setup to explain why feature not available on Linux. --- htdocs/admin/mails.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/htdocs/admin/mails.php b/htdocs/admin/mails.php index 33dcf5fd732..5129b3099b6 100644 --- a/htdocs/admin/mails.php +++ b/htdocs/admin/mails.php @@ -279,9 +279,16 @@ else // Boutons actions print '
'; - if (function_exists('fsockopen') && $port && $server) + if (! $linuxlike) { - print ''.$langs->trans("DoTestServerAvailability").''; + if (function_exists('fsockopen') && $port && $server) + { + print ''.$langs->trans("DoTestServerAvailability").''; + } + } + else + { + print ''.$langs->trans("DoTestSend").''; } print ''.$langs->trans("DoTestSend").''; if ($conf->fckeditor->enabled)