Multitecno Online Posted August 13, 2010 Share Posted August 13, 2010 Hello, I have the following error in version 1.3.1 Prestashop "There is 1 error : 01 an error occurred while sending message" Prestashop 1.3.1My server is Godaddy but it works correctly send e-mail through PHP.What elements are involved in the configuration of contact-form.php to reinstall again?Please help!!!!Attach error Link to comment Share on other sites More sharing options...
Multitecno Online Posted August 14, 2010 Author Share Posted August 14, 2010 Please!!!!!!!!!!!!!!!! Any suggestions? The store does not work any message from my shop to my emails Link to comment Share on other sites More sharing options...
rocky Posted August 15, 2010 Share Posted August 15, 2010 Have you tried following the advice here? Link to comment Share on other sites More sharing options...
Multitecno Online Posted August 15, 2010 Author Share Posted August 15, 2010 Hi Rocky, yes we tried to make that advice but did not work. Initially worked well but then does not work anymore. What files can be replaced? or may be a bug in the database. I hope your great cooperation. Thank you Link to comment Share on other sites More sharing options...
johnme Posted October 19, 2010 Share Posted October 19, 2010 I too Getting the same Error i am also using godaddy server Any one can help me Link to comment Share on other sites More sharing options...
tuk66 Posted October 20, 2010 Share Posted October 20, 2010 Try to send a test email at Back Office >> Preferences >> Email. Link to comment Share on other sites More sharing options...
codegrunt Posted October 20, 2010 Share Posted October 20, 2010 Hard to troubleshoot without knowing how exactly you are trying to send mail. You should post your basic setup (minus account names or passwords of course). GoDaddy is historically very restrictive about what they let you do and there is no way to troubleshoot without knowing what you are trying to do.For example, on one host I use they will block any SMTP sent email that uses an IP (since it is against the RFCs and a common sign of spam) or their local domain in the HELO/EHLO greeting. The sending domain is not exposed by Prestashop (unfortunately) and so has to be changed in the mail related library itself. But this is only relevant for the case where you are using SMTP to send outbound messages. So posting your basic mail configuration is important if you want help.Cheers Link to comment Share on other sites More sharing options...
Multitecno Online Posted November 24, 2010 Author Share Posted November 24, 2010 I Solve that error.... just change the name of your Shopping without special characters or a name very large... Try that.... Link to comment Share on other sites More sharing options...
dodin Posted December 13, 2010 Share Posted December 13, 2010 Hard to troubleshoot without knowing how exactly you are trying to send mail. You should post your basic setup (minus account names or passwords of course). GoDaddy is historically very restrictive about what they let you do and there is no way to troubleshoot without knowing what you are trying to do.For example, on one host I use they will block any SMTP sent email that uses an IP (since it is against the RFCs and a common sign of spam) or their local domain in the HELO/EHLO greeting. The sending domain is not exposed by Prestashop (unfortunately) and so has to be changed in the mail related library itself. But this is only relevant for the case where you are using SMTP to send outbound messages. So posting your basic mail configuration is important if you want help.Cheers Hi, codegrunt. I experienced the same problem. I have the following error “There is 1 error : 01 an error occurred while sending message”, version 1.3.1 Prestashop. It happen every time using SMTP.Here's my smtp configuration:mtphost : smtp.gmail.comuser : [email protected]password : passwordencryption : SSLport : 465I have try change encryption to TLS and port 587 but still not working.please help!best regards,dodin Link to comment Share on other sites More sharing options...
codegrunt Posted December 13, 2010 Share Posted December 13, 2010 To sort out what is going wrong would require adding some debugging to the Send() method of "classes/Mail.php" and / or the send() method in ./tools/swift/Swift.php. My guess is that you are running into a local firewall blocking outbound socket connections but it would require some debugging to know for sure. Try asking your webhost's support department whether outbound socket connections are allowed from PHP scripts.Cheers Link to comment Share on other sites More sharing options...
dodin Posted December 15, 2010 Share Posted December 15, 2010 To sort out what is going wrong would require adding some debugging to the Send() method of "classes/Mail.php" and / or the send() method in ./tools/swift/Swift.php. My guess is that you are running into a local firewall blocking outbound socket connections but it would require some debugging to know for sure. Try asking your webhost's support department whether outbound socket connections are allowed from PHP scripts.Cheers Thank you very much codegrunt.I'll contact my provider. Link to comment Share on other sites More sharing options...
dodin Posted February 12, 2011 Share Posted February 12, 2011 I am hosted on BlueHost and I have also had this problem with the Contact form. I followed one piece of the fix provided by presto-changeo, and the problem seems to be fixed. Here is my post from a different thread:I would have preferred a cleaner solution than hacking up my code on a clean install of PS 1.3.6, but I went ahead did the following to allow shoppers, who are not logged into my store, to send me a message using the Contact form.In /tools/swift/Swift.php, after line #370: if (!($has_reply_to = $message->getReplyTo())) $message->setReplyTo($from); add the following line of code: if (!$has_reply_to[0]) $message->setReplyTo($from->getAddress()); That was the only change that was needed for my site ... there are many other code hacks mentioned for this problem, but not all of them may be relevant. I've tried this and all advice in any forum, but no luck. I've contact my provider and give them my admin shop + email password as they ask, but still no luck. I decide to move my shop to another hosting server tomorrow. I hope this will solve my problem. Link to comment Share on other sites More sharing options...
Recommended Posts