Dadash Ali Posted October 5, 2014 Share Posted October 5, 2014 Hi I see many people have or had problem with SMTP configuration. Let me say that i can send email with same SMTP config that i used same in Prestashop email configuration (for sample) via Mozilla thunderbird but i got that famous error message in Prestashop "The SMTP connection failed to start [smtp.xxx.com:587]: fsockopen returned Error Number 110 and Error String 'Connection timed out In that situation this could be hosting probelms while i can send email with same settings via Mozilla Thunderbird? I so a common solution that many people point at that to resolve the matter : but it does not solved mine My Prestashop version is 1.6.0.9 In /tools/swift/Swift/Message.php line #79 Change $this->setFrom(""); To $this->setFrom("[email protected]"); In /tools/swift/Swift.php after line 370 if (!($has_reply_to = $message->getReplyTo())) $message->setReplyTo($from); Add the following code: if (!$has_reply_to[0]) $message->setReplyTo($from->getAddress()); Now try sending a contact message.... If it still doesn’t work, make the following change: In /tools/swift/Swift/Plugin/MailSend.php line # 159 Add $params = ""; Please help me to solve the matter if you have any idea! Regards Link to comment Share on other sites More sharing options...
Lopezvi Posted October 7, 2014 Share Posted October 7, 2014 (edited) Hi, my prestashop version is 1.6.0.9. I had the same problem. This is my setup my email. For me it works perfectly. Dominio e-mail: dominio.com Servidor SMTP: smtp.dominio.com User SMTP: [email protected] Password SMTP: ******** Encryption: None Port: 587 This works for me Regards Edited October 7, 2014 by Lopezvi (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts