Jump to content

Problem in the Frontend "Contact us"


Recommended Posts

Hello,
I have a problem in the front end of my shop.
In the Contact us menu, everything works great but a send the form and i don't receive the contact email. i think everything is configured!


Could you give us your url, i will do a test.
Link to comment
Share on other sites

From the contact form : the visitor can select a list of "Contact" you configured in your Back Office In Employee > Contacts tab.
So I guess you made a mistake in there.
Check it and let us know.

Furthermore and that's why i wnated to post here ... I would like to say that when receiving a message from contact form : if you want to anwser from your mailbox (when you receive it ;) ), the reply-to is set to the defaut shop email address !
here is the fix to correct this problem and reply to the sender !

file : /contact-form.php
modifiy line 24 in the if section

if (Mail::Send(intval($cookie->id_lang), 'contact', 'Message from contact form', array('{email}' => $_POST['from'], '{message}' => stripslashes($message)), $contact->email))


by

if (Mail::Send(intval($cookie->id_lang), 'contact', 'Message from contact form', array('{email}' => $_POST['from'], '{message}' => stripslashes($message)), $contact->email, $contact->name, $from, "Contact Site"))

contact-form.php

Link to comment
Share on other sites

×
×
  • Create New...