Ibiza2 Posted October 9, 2013 Share Posted October 9, 2013 (edited) 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 wereincorrectly 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 yourmessage, 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 #tcTu7oeCPRNkYOX-PHP-Script: www.mysite.com/admin334/index.php for 89.164.199.213Return-Path: <[email protected]>From: u <[email protected]>Reply-To: u <[email protected]>Date: Wed, 09 Oct 2013 06:19:43 -0400 Edited October 9, 2013 by Ibiza2 (see edit history) 1 Link to comment Share on other sites More sharing options...
maximo88 Posted October 9, 2013 Share Posted October 9, 2013 Me the same. How can solve it? Link to comment Share on other sites More sharing options...
uGoGo Posted October 9, 2013 Share Posted October 9, 2013 Has this been resolved? I'm reluctant to install 1.5.6 and go through this experience, please let me know. Thanks Link to comment Share on other sites More sharing options...
Ibiza2 Posted October 9, 2013 Author Share Posted October 9, 2013 (edited) 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 October 9, 2013 by Ibiza2 (see edit history) Link to comment Share on other sites More sharing options...
vontanix Posted October 10, 2013 Share Posted October 10, 2013 check here: http://www.prestashop.com/forums/topic/280613-upgraded-to-156-and-every-email-sent-malformed-recipient-address/?do=findComment&comment=1412400 Link to comment Share on other sites More sharing options...
Recommended Posts