Issue:
Contact page, doesn’t sent email.
Solution:
The first, please check: System > Configuration > Mail Sending Settings.
The next, please go to \app\design\frontend\default\sm_theme\template\contacts\form.phtml and find:
<form action="<?php echo $this->getFormAction(); ?>" id="contactForm" method="post">
=> change to:
<form action="<?php echo Mage::getUrl(); ?>contacts/index/post/" id="contactForm" method="post">
Note: If your site use the url is:Ai?? https://
please go to \app\design\frontend\default\sm_theme\template\contacts\form.phtml and find:
<form action="<?php echo $this->getFormAction(); ?>" id="contactForm" method="post">
=> change to:
<?php $url = Mage::getUrl(); if(isset($_SERVER['HTTPS'])) { $url = str_replace ('http://', 'https://', $url); } ?> <form action="<?php echo Mage::getUrl(); ?>contacts/index/post/" id="contactForm" method="post">
Thanks!