Forums
This topic is locked
E-Mail Form Help
Posted 10 Jan 2004 22:26:10
1
has voted
10 Jan 2004 22:26:10 lisa anderson posted:
I'm creating a website and have a quote request page. I want the form to come to email addy for quotes. Please advise. Thanks in advance. Replies
Replied 10 Jan 2004 23:45:41
10 Jan 2004 23:45:41 Dave Thomas replied:
use CDONTS with a form, nice and easy,
go here for a good easy tutorial to follow if your a beginner.:>
www.webwizguide.info
Regards,
Dave
[DWMX 2004] | [FlashMX 2004 Pro]|[Studio MX 2004]|[SQL]|[Access2000/2002]|[ASP/VBScript]|[XP-Pro]
go here for a good easy tutorial to follow if your a beginner.:>
www.webwizguide.info
Regards,
Dave
[DWMX 2004] | [FlashMX 2004 Pro]|[Studio MX 2004]|[SQL]|[Access2000/2002]|[ASP/VBScript]|[XP-Pro]
Replied 11 Jan 2004 02:04:26
11 Jan 2004 02:04:26 lisa anderson replied:
I'm don't know anything about ASP. I was wondering if there was a simple HTML code that would process the mail? Thanks in advance.
Replied 11 Jan 2004 04:14:37
11 Jan 2004 04:14:37 Phil Shevlin replied:
HTML is really just a way to display data in a browser. It does little else. You really need some type of server side processing to do anything with data from the client.
However, if you set METHOD="GET" ACTION="anyone@emailaddress" in your HTML code, the submit button will return the contents of the form to the email address provided. It will be one long string that will be the
name/value pair .... not separated.
So, for example, if your form looks like, <INPUT TYPE="TEXT" NAME="name"> <INPUT TYPE="TEXT" NAME="email"> <INPUT TYPE="TEXT" NAME="gender">
The email that comes to you will be in one non-wrapped string that looks like this:
name=thenametheyprovided,email=theemailaddresstheygave,gender=whatevertheyresponded
I can not remember, because it has been a VERY long time since I did one this way, so I am not sure if the commas are present. Or, maybe they are semicolons, etc. I just know that it is a nightmare to try to read if
you have more than about 5 form fields. And, I am almost positive that the METHOD must be GET, but it may need to be POST.
However, if you set METHOD="GET" ACTION="anyone@emailaddress" in your HTML code, the submit button will return the contents of the form to the email address provided. It will be one long string that will be the
name/value pair .... not separated.
So, for example, if your form looks like, <INPUT TYPE="TEXT" NAME="name"> <INPUT TYPE="TEXT" NAME="email"> <INPUT TYPE="TEXT" NAME="gender">
The email that comes to you will be in one non-wrapped string that looks like this:
name=thenametheyprovided,email=theemailaddresstheygave,gender=whatevertheyresponded
I can not remember, because it has been a VERY long time since I did one this way, so I am not sure if the commas are present. Or, maybe they are semicolons, etc. I just know that it is a nightmare to try to read if
you have more than about 5 form fields. And, I am almost positive that the METHOD must be GET, but it may need to be POST.
Replied 11 Jan 2004 21:58:33
11 Jan 2004 21:58:33 Dave Thomas replied:
what have you got access/support for on your webserver, do you know?
asp, php, standard html server?
u should at least have access to a cgi-bin, in which case you can get a premade script to do the job for you (this is also true of asp, php etc.., but you need a server that supports these languages in order to use them)
Regards,
Dave
[DWMX 2004]|[FlashMX 2004 Pro]|[Studio MX 2004]|[SQL]|[Access2000/2002]|[ASP/VBScript]|[XP-Pro]
Edited by - UltraDav on 11 Jan 2004 21:59:23
asp, php, standard html server?
u should at least have access to a cgi-bin, in which case you can get a premade script to do the job for you (this is also true of asp, php etc.., but you need a server that supports these languages in order to use them)
Regards,
Dave
[DWMX 2004]|[FlashMX 2004 Pro]|[Studio MX 2004]|[SQL]|[Access2000/2002]|[ASP/VBScript]|[XP-Pro]
Edited by - UltraDav on 11 Jan 2004 21:59:23
Replied 12 Jan 2004 00:47:48
12 Jan 2004 00:47:48 lisa anderson replied:
Yeah, I have the cgi-bin