English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Destination country: ............................ Destination city .....................
Number of persons per room: ..........
Arrival date: ............................
Departure date: ......................
Name of the guest(s): ............................
E-mail: ............................
Country: ............................
City: ............................
Address: ............................
Phone: ............................
Fax: ............................
Comments: ............................


After fill up this form by clicking SEND button all data will come to my e-mail address.

Could anybody help me?

2006-08-27 18:32:31 · 6 answers · asked by Irin 1 in Computers & Internet Programming & Design

6 answers

What is that???Please be spesific.

2006-09-03 21:20:01 · answer #1 · answered by NoxecA 7 · 1 0

If you have a web server, you will want to put together a form with the data and submit the data to another script written in PHP or ColdFusion or Microsoft ASP or even CGI. Take the data from the form and then put together the body of an email, then determine who you want to email it to, then send the email in the script and finally do some sort of http_redirect to another page that says thank you or something.

So the first question is where are you going to host your system? Then the next question is what technology is available to you.

If php, search for

php mail data form

if ASP, search for

asp mail data form

and likewise for any other language.

Unless you can get the mail to be sent through javascript somehow.

2006-09-04 22:01:26 · answer #2 · answered by Anonymous · 0 0

From your question it is very much clear that you are goin for dynamic forms.
There are two kinds of webpages,static and dynamic.
The pages whose content doesnot change for any (all) the requests from all the page viewers is called Static page.
For Example.......Any information sites like howstuffworks or ygoy
These sites contain pages that are visible to all the viewers the same way.
Where as the dynamic pages are which changes from user to user.
The very best example is your yahoo mail pages.
The moment you log in into your account the page displays only emails realted to you.That means the content of the page is specific only for you.This holds good for every yahoo mail user.

For this kind of dynamic pages we need to use some scripting technologies on the server side(the system in which your webpages reside).
In your case the values(email address,name,city..etc) will vary from one user to another and also it is not simple display of form.
You want them to enter and then you must send an email.This is clearly dynamic.

Popular scripting technologies are.....PHP,ASP and ASP.NET
For starters it's allways good to go with Microsoft(but beware it involves some cost) because of its user friendly development environments.
If you go with ASP,the following code helps you.

Function SendMail(From,Rcpt,Subject,cc,bcc,Body)
ON ERROR RESUME NEXT
Dim objMailer
Set objMailer = CreateObject("CDONTS.Newmail")
If IsObject(objMailer) = False Then
Response.write "Host system lacks component(s) required by this script"
Else
objMailer.BodyFormat=0
objMailer.MailFormat=0
If UCase(From) = UCase("webmaster@yourdomain.com") Then
objMailer.From = """SMSCountry"" <" & From & ">"
Else
objMailer.From = From
End If
'objMailer.From = From
objMailer.To = Rcpt
objMailer.Subject = Subject
objMailer.cc =cc
objMailer.bcc=bcc
objMailer.Body = Body
objMailer.Send
End if
If Err.number = 0 then
SendMail = 0
Else
SendMail = Err.number
End If
Set objMailer = Nothing
End Function

2006-09-05 01:30:51 · answer #3 · answered by bhiravi k 3 · 0 0

I just had to do a similar thing the other day with my page listed on my 360 account and to find servers that do this through most hosting companies now a days is hard, due to them wanting you to go with their software or services. If you have another semi-beefy machine around you can do - it - yourself host with Microsoft FrontPage and MS SQL or someother vertual webserver software, and Frontpage will let you redirect how. If you need help with this email me.

2006-09-05 01:35:39 · answer #4 · answered by Nedan 4 · 0 0

What the heck are you talking about? Be specific and clear...help you do what exactly?

2006-08-28 01:40:08 · answer #5 · answered by Island Queen 6 · 0 1

I will do it in PHP only for you.

2006-08-28 02:09:23 · answer #6 · answered by love l 2 · 0 0

fedest.com, questions and answers