alan081954 Posted November 6, 2014 Share Posted November 6, 2014 I have a html contact us page that i need to make functionable . the page is here:http://www.saintgiuseppespizza.com/contact.html could someone show me what I need to add to it to make it work please. Quote Link to comment https://forums.phpfreaks.com/topic/292319-send-mail-in-html/ Share on other sites More sharing options...
bsmither Posted November 7, 2014 Share Posted November 7, 2014 I see four form elements (two input type=text, one textarea, one input type=submit), but no <form> tag enveloping them. So, unless you have some javascript (which I routinely disable) that is looking at the submit button, the browser does not know where to send the form data. Quote Link to comment https://forums.phpfreaks.com/topic/292319-send-mail-in-html/#findComment-1495980 Share on other sites More sharing options...
hansford Posted November 7, 2014 Share Posted November 7, 2014 To just bring up the default mail program on the computer you can use the MAILTO option: form action="MAILTO:person@xxx.com" or you would have to implement something using PHPMailer or another mail program if you wanted the server to send the message. Quote Link to comment https://forums.phpfreaks.com/topic/292319-send-mail-in-html/#findComment-1495985 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.