tags:

views:

34

answers:

1

Hi,

How can I send form data to a preset email address in Magento (like how the contact form works)

thanks

EDIT : What I'm trying is to have a form in a static block which when submitted, sends the form data to an email address ([email protected])

thanks

+1  A: 

im not sure what you need. Heres an example for a custom static formular. All you need is to create a phtml template and this add into a cms page.

in RTE:

{{block type="core/template" name="myformular" template="contacts/myformular.phtml"}} 

or in xml layout

<reference name="content">
    <block type="core/template" name="myformular" template="contacts/myformular.phtml" />
</reference>

inside that phtml file you can design your mail with plain php
How to send email with php

Rito