Question:
Creating an Email HTML form?
Neil
2011-03-25 11:02:08 UTC
Hello. I've made a HTML form which has a submit button and I already know how to make the user send the form to you -

Whenever I submit the form, it either opens Mail on Mac or Outlook on Windows.
So, how do you send it without opening a separate application?
Four answers:
anonymous
2011-03-26 02:28:47 UTC
The "mailto:" will always open the User's local email program as it is a client-side sorm. You must use a server-side form and SMTP. A database isn't necessary unless you are cording and/or working from a list of email addresses via a Member Mailing list.



Your current hosting package or service MUST allow SMTP ( http://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol ) to work. Otherwise, no email can be sent.



PHP: Sending Email Tutorial (Text/HTML/Attachments): http://www.webcheatsheet.com/php/send_email_text_html_attachment.php



Use any of the below sites to make the workable form you need:



These are really good online form makers. Just follow the instructions for making it and uploading file(s).



Contact Form Generator: http://www.tele-pro.co.uk/scripts/contact_form/

WYSIWYG Form Maker: http://www.jotform.com/?gclid=CNKhqei1wJ4CFRQhnAod6laUqA

http://www.thesitewizard.com/wizards/feedbackform.shtml

Ajax - Creating an HTML Form: http://www.tizag.com/ajaxTutorial/ajaxform.php

http://www.phpform.org/



http://www.thepcmanwebsite.com/form_mail.shtml

http://emailmeform.com/

http://www.freecontactform.com/



More...
Chris C
2011-03-25 12:05:01 UTC
The FORM ACTION can call any type of thing you want. Using "mailto:" causes it to launch whatever the user has defined as their email application.



Knowing that, I have seen it be these type of scripts: PHP, ASP, CGI, PY (Python), and PL (Perl). I have also seen it call an EXE or DLL.



What that does, is sends the information from the FORM into the appropriate script/executable to be processed on the server side. If you specify "mailto:", it opens it up on the client's PC/MAC, etc.



Here's some more information: http://www.w3schools.com/tags/tag_form.asp and http://www.w3schools.com/php/php_forms.asp
alex3oo3
2011-03-25 11:15:54 UTC
Yes you have to use a serve language like php or asp, unless you would like to write your html in outlook.
?
2016-12-25 09:47:49 UTC
you won't be able to do it in HTML. HTML does not "assemble archives" you may desire to apply a server ingredient language including very own abode page or ASP.internet. in case you're unwilling to check, then you certainly purely purely can not do it with HTML on my own, sorry.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...