Jumprit's Knowledge

Jumprit's knowledge and references to share.

Can’t Send or Receive Email in Prestashop —

If you can’t send or receive email on your Prestashop store, do the following:


1. Go to /tools/swift/Swift/Message.php line #79. Change this code:





2. Go to /tools/swift/Swift.php, after line #370. Find:

if (!($has_reply_to = $message->getReplyTo())) $message->setReplyTo($from);

add (!$has_reply_to[0]) $message->setReplyTo($from->getAddress());
so become: 

if (!($has_reply_to = $message->getReplyTo())) $message->setReplyTo($from);
(!$has_reply_to[0]) $message->setReplyTo($from->getAddress());


3. Go to /tools/swift/Swift/Plugin/MailSend.php line #159 and then add this code:

$params = “”;



Now try to send/receive emails… 😎

Categorised as: Prestashop

One Comment

Leave a Reply