Skip to content
Snippets Groups Projects
Commit 2ea3b3a3 authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: simplemail class use local smtp port configuration with linux

parent b2e115a9
No related branches found
No related tags found
No related merge requests found
......@@ -279,7 +279,7 @@ if (isset($_GET["action"]) && $_GET["action"] == 'edit')
// Port
$var=!$var;
print '<tr '.$bc[$var].'><td>';
if ($linuxlike && $conf->global->MAIN_MAIL_SENDMODE == 'mail')
if ($linuxlike && ($conf->global->MAIN_MAIL_SENDMODE == 'mail' || $conf->global->MAIN_MAIL_SENDMODE == 'simplemail'))
{
print $langs->trans("MAIN_MAIL_SMTP_PORT_NotAvailableOnLinuxLike");
print '</td><td>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment