Improvement in email configuration with sendmail engine
This commit is contained in:
committed by
Erik Amaru Ortiz
parent
421d45b4b9
commit
11d48e8073
@@ -374,8 +374,8 @@ class adminProxy extends HttpProxyController
|
||||
define("FAILED", 'FAILED');
|
||||
$mail_to = $_POST['mail_to'];
|
||||
$send_test_mail = $_POST['send_test_mail'];
|
||||
$_POST['FROM_NAME'] = G::LoadTranslation("ID_MESS_TEST_BODY");
|
||||
$_POST['FROM_EMAIL'] = ($_POST["from_mail"] != "" && preg_match($eregMail, $_POST["from_mail"]))? $_POST["from_mail"] : "";
|
||||
$_POST['FROM_NAME'] = $_POST["from_name"] != "" ? $_POST["from_name"] : G::LoadTranslation("ID_MESS_TEST_BODY");
|
||||
$_POST['MESS_ENGINE'] = 'MAIL';
|
||||
$_POST['MESS_SERVER'] = 'localhost';
|
||||
$_POST['MESS_PORT'] = 25;
|
||||
|
||||
Reference in New Issue
Block a user