+ 1

Email Form Data

Is it possible to email form data direct from HTML code or I have to combine with PHP?

8th Jan 2017, 10:01 PM
Lazarus Banda
Lazarus Banda - avatar
5 Answers
+ 7
<form action="mailto:
"> (not sure
)
8th Jan 2017, 10:03 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 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
8th Jan 2017, 10:19 PM
Toby Milroy
Toby Milroy - avatar
+ 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>
8th Jan 2017, 10:43 PM
Lazarus Banda
Lazarus Banda - avatar
+ 1
I I have tried it but its not working
8th Jan 2017, 10:16 PM
Lazarus Banda
Lazarus Banda - avatar
+ 1
@Toby thank you for that link. very helpful
9th Jan 2017, 5:11 AM
Lazarus Banda
Lazarus Banda - avatar