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:

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...