Jump to content

Recommended Posts

Posted

Here is the code:

<form method="post"  action="mailto:myname@yahoo.com"> 
<input type="hidden" name="mailto" value="myname@yahoo.com">
form stuff here 
<p class="submit"><input type="submit" value="Submit" /></p>
</form>

When I get the email from a sent form, and download the POSTDATA text, all it says is "mailto:myname@yahoo.com[][]"

Posted

Try something like this:

 

<form action="mailto:myname@yahoo.com" method="post">
<input type="hidden" name="subject" value="Emailer">
Your Name:<br> 
<input type="text" size="20" name="Visitor Name"><br><br> 
Your Comment:<br> 
<textarea name="Visitor Comment" rows="4" cols="20"></textarea><br><br> 
<input type="submit" value="Email This Form"> 
</form>

 

or better yet, use a php mail form so bots can't see your email address.

 

 

 

Upload this to your site and name it with a .php extension and change where it says: your_email@yahoo.com to your email address.

 

http://byrondallas.heliohost.org/temp/email_form.txt

 

 

 

Posted
or better yet, use a php mail form so bots can't see your email address.

Upload this to your site and name it with a .php extension and change where it says: your_email@yahoo.com to your email address.

 

http://byrondallas.heliohost.org/temp/email_form.txt

 

Will do!

Thanks for the help I'll use php for my forms :lol:

 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...