Fix: simplemail class use local smtp port configuration with linux
This commit is contained in:
parent
b2e115a981
commit
2ea3b3a319
@ -279,7 +279,7 @@ if (isset($_GET["action"]) && $_GET["action"] == 'edit')
|
|||||||
// Port
|
// Port
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
print '<tr '.$bc[$var].'><td>';
|
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 $langs->trans("MAIN_MAIL_SMTP_PORT_NotAvailableOnLinuxLike");
|
||||||
print '</td><td>';
|
print '</td><td>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user