Magento Contact form not sending mail Print
Written by Administrator   

If after setting your email to contact us form is not sending emails. Follow the instructions below to fix the issue.

This is caused by a change in the Magento core code.

 

Open the file:   app/design/frontend/themedirectory/template/contacts/form.phtml

If don't find the contacts folder here

 

Open the file:  app/design/frontend/base/default/template/contacts/form.phtml

 

Change the line:

<form action="<?php echo $this->getFormAction(); ?>" id="contactForm" method="post">

 

To:

<form action="<?php echo $this->getUrl('contacts/index/post'); ?>" id="contactForm" method="post">

 

 

For more info click here or here.