aharzand Posted October 12, 2009 Share Posted October 12, 2009 Hi all,I'm new to PrestaShop, and I'm getting a very general error when I try to use my contact form:There is 1 error : 1. an error occurred while sending messageAnyone know how to find out what exactly is going wrong? Thanks very much!Arash Link to comment Share on other sites More sharing options...
alain08270 Posted October 13, 2009 Share Posted October 13, 2009 http://www.prestashop.com/forums/viewthread/28851/discussion_generale/resolu__formulaire_de_contact_hs Link to comment Share on other sites More sharing options...
aharzand Posted October 14, 2009 Author Share Posted October 14, 2009 Thanks for responding, but unfortunately I don't speak French. Arash Link to comment Share on other sites More sharing options...
tonito Posted October 27, 2009 Share Posted October 27, 2009 Hi,I am French and the link above doesn't help. I have the same problem. I suspect it is related to cookies (my guess). I can send emails from the contact form with Safari, but not with Firefox! Link to comment Share on other sites More sharing options...
Brel Posted October 27, 2009 Share Posted October 27, 2009 Try fixing your SMTP configuration and make sure it is truly working or simulated to be working. Since I am using WAMP Server for development, I tried using sendmail.exe and now msmtp.exe using PHP Mail set in Prestashop's Preferences->Email. I had to configure the PHP.INI and set sendmail to either the installed sendmail.exe or msmtp.exe. Still it wasn't able to send any mails but the error disappeared as I think it successfully simulated the SMTP server. I then uploaded my site in a live (but hidden) CentOS server and sending of mails worked! Link to comment Share on other sites More sharing options...
TropischBruin Posted October 27, 2009 Share Posted October 27, 2009 Most e-mail issues like these a caused by poor (not compatible) configured servers.So, contact your hoster an have them look at the problem and solve it.If they blaim PS look for a better hoster. Link to comment Share on other sites More sharing options...
tonito Posted October 28, 2009 Share Posted October 28, 2009 This is a contact-form.php bug in Prestashop.The file posted in this thread worked for me:http://www.prestashop.com/forums/viewthread/25370/general_discussion/contact_us_error_bug/ Link to comment Share on other sites More sharing options...
devtrend Posted November 24, 2009 Share Posted November 24, 2009 I found a workaround using an old version of contact-form.php via the thread athttp://www.prestashop.com/forums/viewthread/25370/general_discussion/contact_us_error_bug/Below is my posting to that thread. "Hello, I have prestashop_1.2.5.0 installed on hostmonster. I was running into the same email error described at the top of this thread by halalan (when I tried to post emails on prestashop ... using a firefox browser ... i didn't try with IE)I installed halalan's older version of contact-form.php ... and it solved the problem so far.I am not well versed enough with php or smtp to diagnose the root cause of the issue.This is just a data point that the older version of contact-form.php works better on hostmonster. I hope this is helpful.Thanks to everyone who posted before me, especially to halalan for his fix." Link to comment Share on other sites More sharing options...
merico Posted September 26, 2011 Share Posted September 26, 2011 I have tested the email in BO, and it works. Also if i go into an order and write a message the email is successfully send to the customer, however when i try using the Contact Form is doesn't work. I get the #1 error, both in Safari and in Chrome. Can it still be a problem with the host or maybe my configuration of .htaccess or chmod? Link to comment Share on other sites More sharing options...
cagdas Posted November 13, 2011 Share Posted November 13, 2011 I have tested the email in BO, and it works. Also if i go into an order and write a message the email is successfully send to the customer, however when i try using the Contact Form is doesn't work. I get the #1 error, both in Safari and in Chrome. Can it still be a problem with the host or maybe my configuration of .htaccess or chmod? I have tested my email in BO, and it works. Then i have send to that email address from another email address, and it works. But when i try to use the contact form, it doesn' t work. I have looked at that link, too: http://www.presto-ch...email-problems. But, I didn' t found that codes in my ps v1.4.4.1. if (!($has_reply_to = $message->getReplyTo())) $message->setReplyTo($from); How can I fix this problem in ps 1.4.4.1? Thanks... Link to comment Share on other sites More sharing options...
personalizados Posted August 18, 2015 Share Posted August 18, 2015 Hello same problem found any solution ?? Thanks !! Hola mismo problema encontraron alguna solucion??, gracias!! Link to comment Share on other sites More sharing options...
Betah89 Posted August 25, 2015 Share Posted August 25, 2015 (edited) Hello same problem found any solution ?? Thanks !! Hola mismo problema encontraron alguna solucion??, gracias!! Hi, i found out some solution, that is working for me. Posted on this topic just now: https://www.prestashop.com/forums/topic/445659-contact-form-error-an-error-ocurred-while-sending-the-message/?p=2129851 Hope it works for u. Edited August 25, 2015 by Betah89 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now