Jump to content

Customer Support - Email Error 1.5.6.0


Recommended Posts

When customer sends contact form I do receive email and it's logged in admin area, but customer does not receive email and reply attempt also doesn't get trough.

 

I just get email from my own servers Mail Delivery System:
 

A message that you sent contained one or more recipient addresses that were
incorrectly constructed:

  [email protected] <[email protected]>: malformed address: <[email protected]> may not follow [email protected]

This address has been ignored. There were no other addresses in your
message, and so no attempt at delivery was possible.

 

 

So it apparently never leaves server. (I have altered customer email and my site in this post but customer is at real inbox.com)
 

Original raw message header looks like this:
 

To: [email protected] <[email protected]>
Subject: [My site] An answer to your message is available #ct1 #tcTu7oeCPRNkYO
X-PHP-Script: www.mysite.com/admin334/index.php for 89.164.199.213
Return-Path: <[email protected]>
From: u <[email protected]>
Reply-To: u <[email protected]>
Date: Wed, 09 Oct 2013 06:19:43 -0400

 

 

 

Edited by Ibiza2 (see edit history)
  • Like 1
Link to comment
Share on other sites

No.

But I have made quick workaround as this is my first day with PrestaShop. Again, this is not proper solution but it works.

 

In /classes/Mail.php

Add this 2 lines above // Do not crash for this error...

 

        if (empty($to_name))
            $to_name = '""';

 

Than I started receiving mails from Customer Support admin panel and noticed another error: "From" in my inbox was just one letter - confusing to customer as he can't see who is the sender.

 

Solution for second problem in /controllers/admin/AdminCustomerThreadsController.php

 

Replace:

$from_name = $contact->name[(int)$ct->id_lang];

 

With:

$from_name = $contact->name;

 

And than I started receiving emails with proper From field stating "Technical support".

That variable was obviously not an array (I'm not using multilanguage) and I suspect that there might be more problems on other places in code... I'm also experiencing problems with connecting to gmail IMAP, so I didn't go deeper in code...

Edited by Ibiza2 (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...