[-] BO : #PSTEST-335 - Fixed problem with test email

This commit is contained in:
mDeflotte
2012-01-06 15:20:45 +00:00
parent 7b3a8cfa2c
commit 8b9ce43683
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ $type = 'text/html';
$to = $_POST['testEmail'];
$from = Configuration::get('PS_SHOP_EMAIL');
$smtpLogin = $_POST['smtpLogin'];
$smtpPassword = urldecode($_POST['smtpPassword']);
$smtpPassword = (!empty($_POST['smtpPassword'])) ? urldecode($_POST['smtpPassword']) : Configuration::get('PS_MAIL_PASSWD');
$smtpPort = $_POST['smtpPort'];
$smtpEncryption = $_POST['smtpEnc'];