+ 1
Email Form Data
Is it possible to email form data direct from HTML code or I have to combine with PHP?
5 odpowiedzi
+ 7
<form action="mailto:…">
(not sure…)
+ 2
No.
You need something to 'process' the email and send it.
You'll have to "POST" the data somewhere.
The "mailto" is a workaround, but it's not really sending the way I think you want.
http://stackoverflow.com/questions/7449767/how-do-i-send-an-html-form-in-an-email-not-just-mailto
+ 2
Here is what I wrote
<!DOCTYPE HTML>
<html>
<head>
<title>Isba</title>
</head>
<body>
<h4>FIRST HTML</h4>
<form action="mailto:isbanda1@gmail.com" method="POST">
<input type="text" name="name" placeholder="Name + comment"></input> <br/>
<input type="submit" value="Submit"
</form>
</body>
</html>
+ 1
I I have tried it but its not working
+ 1
@Toby thank you for that link. very helpful