I had the same problem. Turns out the issue had to do with my server. If I tried to send the email to a local address they would fail. So I fixed the code as indicated in the previous post, then I sent up a temporary gmail account to send the email to. Within the gmail account I created a forwarding rule to forward them on to the local email address, now it all works. Also check your junk folders, mine were getting flagged as spam.
Just a quick note. I was having problems with sending from the contact form until I realized the to and from email addresses were the same.
Some servers will reject emails where the “to” and “from” address is the same because it will classify it as spam. My emails were not getting through until I changed the from address in the configuration > contacts > email options.
May explain why some of the emails get through and others don’t.
My contact form is not working. I am new to Magento. I had someone build the site but found out the form is not working.
My version is Magento ver. 1.4.1.1
when I view source the post is
<form action="http://pureoriginshair.com/contacts/index/post/" id="contactForm" method="post">
after I submit the form in the url it shows
http://pureoriginshair.com/contacts/index/
I do get a message “Your inquiry was submitted and will be responded to as soon as possible. Thank you for contacting us.”
when I go into the Admin Panel / Configuration > Contacts
the Enable Contact us is - Yes
email option has my email
email sender is set to custom email 2
enable template is set to contact form (default template from Locale)
I also had the same problem . Emails were sent when I used the Contact Us form in the footer but not when it was included within a cms page. My solution was as follows: Call the form from the cms page as follows:
<!– CONTACT FORM –>
{{block type=’core/template’ name=’contactForm’ template=’contacts/form.phtml’}}
<!– END OF CONTACT FORM –>
Note the use of single inverted commas when calling the form in the block. I could not get it to show at all with double inverted commas.
Find /contacts/form.phtml in your theme directory and change
Just a quick note. I was having problems with sending from the contact form until I realized the to and from email addresses were the same.
Some servers will reject emails where the “to” and “from” address is the same because it will classify it as spam. My emails were not getting through until I changed the from address in the configuration > contacts > email options.
May explain why some of the emails get through and others don’t.
Thanks; this worked for me too. Could not receive e-mails, but changing the receiver solved the problem
Thanks catoctin, your suggestion worked for my setup. We are using Nexcess for hosting and using Google Apps for our mail server so disabling the local delivery service allowed emails generated from the Magento contact form to be delivered to our email address with the same domain.