[How do I email a from on my Web site?] -
How do I email a from on my Web site?
Discuss How do I email a from on my Web site?
Posted by: Ace_Mann99
I have created a HTML form on my web site and I want to be able to have it emailed to a particular email account, how do I get that done. I have used the following code with out any luck:
<FORM ACTION="/cgi-sys/mailform" METHOD="POST"> <INPUT TYPE=hidden name="recipient" value="DesiredEmail@yourdomain.tld">
and this one too:
<INPUT TYPE="submit" VALUE="Send" >
<INPUT TYPE="reset" VALUE="Reset">
</FORM>
Any one have any suggestions?
Maybe I have been putting the code in the wrong place on the site?
Any help would be great.
Thanx,
Ace_Mann99
Posted by: Ken Masters
Just use action="mailto:desiredemail@yourdomain.tld"...
<form action="mailto:desiredemail@yourdomain.tld" method="post" name=" ">
<input type="text" value=" " />
<input type="submit" name=" " value="Send" />
</form>
Posted by: Ace_Mann99
I tried that and After messin with it for a few minutes I did get an email but the attachment was empty. Maybe I am placing the code in the wrong place. Also, when I move the "send" tag to the bottom of the from it will not email at all. I am rather new to the web design area (as if you could not tell).