[-] 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:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user