473,322 Members | 1,562 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Sending information from Form to e-mail

3
I have created a form on the web as html pages and want to make the submit button to send a form to an e-mail or create a form where the owner of the website can access, print the form and start on processing it.
May 5 '10 #1
4 1703
YarrOfDoom
1,247 Expert 1GB
The most simple way is to set the action-attribute to MAILTO: followed by the mail-adress you want to send it to, but that will work by opening the user's mail-program and filling out the body and reciever for them.

A more elegant way is to create or find a server-side script which will process the data in the form and send the mail from the server. This way the form will act like a regular form towards the user. A quick search on the web will probably get you such a script no time.
May 5 '10 #2
bf747
3
@YarrOfDoom
the webpage is
http://www.theathletescollegecounselor.com
and when the person needs to submit the form I want to get the same webpage in a same form filled in with a data and submitted to the e-mail.
I am very much new on this and kind of hard for me to follow. Can you give me more details? Did I explain correctly? thank you for your suggestions and help.
May 5 '10 #3
YarrOfDoom
1,247 Expert 1GB
As you can read on this page, your <input>-tags should be grouped together in a <form>-tag (your page only seems to have the ending-tag for that by the way). The <form>-tag has an attribute action which you can set to the url the form has to be sent to when the user clicks <input> with type set to submit. If you put "MAILTO:" followed by an email-adress, the website will open the user's email-client for a new mail with the form data in the body. This however, is not very user-friendly, and the form data will not be very easily readable.

A better solution is to set the action-attribute to a serverside script (written in PHP, ASP, Python, ... whatever you prefer), which will structure the data when recieved and send it trough to an email-address specified in the script, without bothering the user at all with this. You can choose to write this script yourself, or try to find one on the internet which suits your needs.

edit: I just realised this is just a more extended version of my previous post, but I hope it's of use to you anyway :)
May 6 '10 #4
bf747
3
@YarrOfDoom
Thank you very much. I will follow the link you send me.
May 6 '10 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Richard Cornford | last post by:
I am interested in hearing opinions on the semantic meaning of FORM (elements) in HTML. I have to start of apologising because this question arose in a context that is not applicable to the...
4
by: Targa | last post by:
Trying to total some price fields in a form but doesnt work when all the referenced form fields dont exisit. This is for an invoice - pulled prom a database and the form doesnt always contain the...
25
by: Lyn | last post by:
Hi, I am working on a genealogy form. The only table (so far) lists everybody in the family, one record per person. Each record has an autonum ID. The parent form (frmMainForm) displays the...
19
by: Raposa Velha | last post by:
Hello to all! Does any of you want to comment the approach I implement for instantiating a form? A description and an example follow. Cheers, RV jmclopesAThotmail.com replace the AT with the...
11
by: Jozef | last post by:
I have some old code that I use from the Access 95 Developers handbook. The code works very well, with the exception that it doesn't seem to recognize wide screens, and sizes tab controls so that...
5
by: RAJ | last post by:
hi plz tell me how to know "how window is going to close"... i have to right code for X button of forms... plz telll me thanks bye
6
by: Gary Miller | last post by:
Does anyone know how to detect a modeless form on closing by the form that invoked the modeless form? form.Show();
4
by: Alex Sibilev | last post by:
Hello, I have a really weird problem I've been trying to solve it without any luck for the last couple of hours :( I'm writing a "conference board" application (quite similar to ASP.NET...
11
by: Ezzz | last post by:
Initially all the assets in my form were ordered by the product Id. (Not set by me suspect it is some sort of default after i downloaded the database?) In order to keep all similar assets together...
15
by: jt196 | last post by:
I'm trying to create an editable form of fulfilled orders on my system and am running into problems with creating a form based on this query. The field that I need to update (invoice number) is...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.