how to Sending a message to email through a button

anilson1

New Member
Messages
45
Reaction score
0
Points
0
I have created an email account already. Now I want to create a script to recieve or send message from a textbox to this created email. And I am having difficulties on how to write the script.

Any idea?

I have this:
<form action="cgi-bin/MailFolder" method="post">


<textarea name="comment" rows="6" cols="30"></textarea></label>
<br><br>

<input type="hidden" name="recipient" value="administrator@cavuanzakikolo.x10hosting.com"/>
<input type="hidden" name="subject" value="feedback" />
<input type="hidden" name="redirect" value="VogMailList.php" />

<input type="submit" value="Send" class="buttonchenger"/>
</form>

from here I do not know where to go or what to do.
 

tnl2k7

Banned
Messages
3,131
Reaction score
0
Points
0
Doing this with CGI will be a very awkward task. Your best bet is to use a PHP script to do it for you, it'll take less code and will be easier (trust me ;)). This tutorial may help you, you can just delete the bits you don't need from the finished thing if you like: http://www.kirupa.com/web/php_contact_form.htm.

-Luke.
 
Last edited:
Top