Anshul Tharani
Anshul Tharani

Reputation: 23

magento 1.9 custom mail

try to make a custom form and send mail when user submit that form but page not work always get 404 error when try to submit page

i am follow this tutorial to make page

https://inchoo.net/magento/magento-email/magento-custom-email-contact-form-with-notification-system/

i am using magento version 1.9

copy code in following path

i am using custom magento theme dukan

Upvotes: 0

Views: 466

Answers (2)

alexey boltynov
alexey boltynov

Reputation: 131

go to design yuor phtml file, find this :

/app/design/frontend/base/default/template/inchoo/

find this:

<form id="simple_contact_form" name="simple_contact_form" action="<?php echo $this->getUrl('inchoo-simplecontact/') ?>index/sendemail" method="post">

and change it to -

<form id="simple_contact_form" name="simple_contact_form" action="<?php echo $this->getUrl('inchoo-simplecontact/index/sendemail') ?>index/sendemail" method="post">

if it was helpful, tap +1 and answer :)

Upvotes: 0

alexey boltynov
alexey boltynov

Reputation: 131

what kind of error do you have? where do you going? mage.test/mail/index or another adress?? push yours zip archive of project. I will check and say to you

Upvotes: 0

Related Questions