Magento Contact Form not working; redirects to same page and doesn’t send an email

I have tried everything on all of the posts in this Forum that I have read, and nothing seems to be working.

I just implemented a new contact form on one of my CMS pages. Here are the steps that I took to do so:

First, I created the new page that houses the form and inserted the following code:

{{block type="core/template" name="contactForm" template="contacts/form.phtml" action="/contact-us/index/post"}}

I changed the action to “/contact-us/index/post” because the key of the page that it is on is “contact-us”. (Was that correct to do?)

I then went to System > Configuration > Contacts > Contact Us and changed:

“Enable Contact Us” => “Yes”
“Email Template” => Contact Form (Default Template from Locale)

I re-indexed, refreshed cache and now when I submit the form, not only do I actually never get the email to the email address that I put in “Send Email To,” but it just redirects me back to the same Contact Us page without any sort of message as to what has happened.

All this being said, I am using a Gmail address to send the form to. I had read somewhere that sometimes Gmail addresses had a hard time accepting the form. So I changed it to a non-Gmail address, and still no form.

My questions are:

  1. How do I get the form to submit… period?
  2. How do I get the form to redirect to a Thank You page?

Try this thread…

Magento - Contact form on a CMS page - How do I? Questions - eCommerce Software for Growth