Mokothemonkey Posted August 26, 2009 Share Posted August 26, 2009 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[][]" Quote Link to comment Share on other sites More sharing options...
Byron Posted August 26, 2009 Share Posted August 26, 2009 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 Quote Link to comment Share on other sites More sharing options...
Mokothemonkey Posted August 26, 2009 Author Share Posted August 26, 2009 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.