I was just wondering if its possible to make an HTML page.. which emails you all the info that is entered in a text box. <!DOCTYPE html> <html> <body> <h3>Send e-mail to :</h3> <form action="" method="post" enctype="text/plain"> Name:<br> <input type="text" name="name" value="your name"><br> E-mail:<br> <input type="text" name="mail" value="your email"><br> Comment:<br> <input type="text" name="comment" value="your comment" size="50"><br><br> <input type="submit" value="Send"> <input type="reset" value="Reset"> </form> </body> </html> So, what I need is that.. whenever a person clicks on the Submit button.. I should get an email.. without the other person required to sign in to their account or anything. Just all info mailed directly to me. I'm sorry i am very new to this.. any help would be appreciated
You got that from w3schools, right? Unfortunately, it doesn't work. That will only redirect the user to his email client, with an unrelated title and/or message. You will find tons of working php forms online, just search. P.S. : I know these guys define web standards, but I wonder what makes that heading an h3. I know they are using that tranny nonsense known to some as HTML5, but still, it makes no sense.
If you don't want the user to have to use their own client, then you post the form and use a simple PHP mailer to send the information to you in an email. something like this stripped down to the bare essentials is what you need: http://coboldinosaur.com/pages/Simple_PHP_Mailer.html
W3Schools doesn't define a blasted thing -- they are COMPLETELY unrelated to the W3C and are little more than nube predation -- LITERALLY preying on the ignorance of those just starting out by sharing the same first two letters and using their endless legacy weight and SEO asshattery to scam people into thinking their horrific web rot and dated practices show up at the top of Google. Which is part of why there's an intervention site telling people NOT to use them as an authority on, well.... ANYTHING. http://w3fools.com/ ----------------------------------------------- As to the OP's problem -- as others have said you have to handle this server side with a PHP, ASP or other from handling script. Sending it to 'mailto' is stupid and doesn't work in the age of so many people using webmail, and there's no other 'client-side' way of handling this.
And I actually thought they did! Not that I cared that much about them to begin with, but they are selling "certificates" and taking money from people! What a bunch of deceptive scumbags they are.
Again why my disgust to the point of nausea for the industry as a whole continues to plumb the depths of depravity.