[-] Installer : ignore port when creating the sender e-mail address #PSCFV-3756

// Improved profiling tool

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17004 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
dMetzger
2012-08-27 06:47:41 +00:00
parent ef4a9f83ba
commit 4cabe99f19
3 changed files with 47 additions and 33 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ class InstallModelMail extends InstallAbstractModel
$swift = new Swift(new Swift_Connection_NativeMail());
$message = new Swift_Message($subject, $content, 'text/html');
if (@$swift->send($message, $this->email, 'no-reply@'.Tools::getHttpHost()))
if (@$swift->send($message, $this->email, 'no-reply@'.Tools::getHttpHost(false, false, true)))
$result = false;
else
$result = 'Could not send message';