Question:
How do I use a html Mailto here to send form data?
James D
2013-03-20 05:49:56 UTC
I want to use a mailto action on a page after my form but dont know how to transfer the form data over for it to work. Basically I complete the form and it takes me to another page where I can send, edit or go back to a different page. I want to be able to click send on that second page and send all the form data inputted to an emaill. How can I do this? So far no data is being collected by the second page. When I click send the value of the submit button is sent, so im sure it works just that the data isnt on that page.

Here is the form:


Please select your title from the dropdown options:



First name*:

Last name*:

Email Address*:



And here is the second page:



onClick="parent.location='contact.html'"…
onClick="parent.location='homepage.html'…
Three answers:
anonymous
2013-03-20 07:47:37 UTC
PHP: Sending Email Tutorial (Text/HTML/Attachments): http://www.webcheatsheet.com/php/send_email_text_html_attachment.php

How to Code a Sign Up Form with Email Confirmation: http://net.tutsplus.com/tutorials/php/create-a-signup-form-with-email-confirmation/



CoffeeCup Free Web Form Builder (Win/Mac Versions): http://www.coffeecup.com/web-form-builder-lite/



Use any of the below sites to make the workable form you need (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 (Easiest to Use): http://www.jotform.com/?gclid=CNKhqei1wJ4CFRQhnAod6laUqA

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

http://www.form2email.net/

Free Forms: http://www.jotform.com/form-templates/



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

http://emailmeform.com/



More...
Chris
2013-03-20 06:14:03 UTC
Not possible I'm afraid without using a server side scripting language like PHP.



All that code does is open the URL "mailto:james_dodds@hotmail.com", which makes windows tell the installed default email client to open a new email with the mentioned address as recipient.



And there's already the first issue: not everybody has their own email address set up in the default email client, provided there's one installed, that is.

Lots of people still use webmail exclusively.



While you can transfer information from one html page to another using cookies, to send an email via the server the site is on (as opposed to relying on the user having an email client set up properly), you need PHP or ASP, or JSP or any other server side scripting language.

There is no other way.
schlaack
2016-10-03 11:31:08 UTC
the clientele fill out the type and it somewhat is despatched on your email address by utilising way of the type action code. Your cyber web Host, alongside with flow Daddy, will inform you what variety action to apply to get your variety emailed to you from the cyber web website you layout.


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