[-] BO : Used urlencode() in order to receive the good format password in Preferences/Emails
This commit is contained in:
@@ -31,13 +31,13 @@ include_once(dirname(__FILE__).'/../config/config.inc.php');
|
|||||||
require_once(dirname(__FILE__).'/init.php');
|
require_once(dirname(__FILE__).'/init.php');
|
||||||
|
|
||||||
$smtpServer = $_POST['smtpSrv'];
|
$smtpServer = $_POST['smtpSrv'];
|
||||||
$content = $_POST['testMsg'];
|
$content = urldecode($_POST['testMsg']);
|
||||||
$subject = $_POST['testSubject'];
|
$subject = urldecode($_POST['testSubject']);
|
||||||
$type = 'text/html';
|
$type = 'text/html';
|
||||||
$to = $_POST['testEmail'];
|
$to = $_POST['testEmail'];
|
||||||
$from = Configuration::get('PS_SHOP_EMAIL');
|
$from = Configuration::get('PS_SHOP_EMAIL');
|
||||||
$smtpLogin = $_POST['smtpLogin'];
|
$smtpLogin = $_POST['smtpLogin'];
|
||||||
$smtpPassword = $_POST['smtpPassword'];
|
$smtpPassword = urldecode($_POST['smtpPassword']);
|
||||||
$smtpPort = $_POST['smtpPort'];
|
$smtpPort = $_POST['smtpPort'];
|
||||||
$smtpEncryption = $_POST['smtpEnc'];
|
$smtpEncryption = $_POST['smtpEnc'];
|
||||||
if (isset($_POST['mailMethod']))
|
if (isset($_POST['mailMethod']))
|
||||||
|
|||||||
Reference in New Issue
Block a user