Register  |  Login




Advertisement

Start Your Own Q&A Site

Create your own Q&A site easily, allowing you to quickly grow a new community around any subject matter or generate new organic traffic for your existing website.

Question

Status: Closed Points: 25 Time: 18:34 - Oct 01, 2008  

mikeleworthy

hi. i'm looking for the easiest way to create an email form in dreamweaver 8 and be able to send it

I can build forms in my site but have no idea how to get it to send the results to my email. only needs to be simple, name, email and comments. it seems everywhere on line has tutorials but they are so confusing and leave out key elements. hope it can be solved.
mike.

Categories

Answer Discussion
Tutorials

 

mary2

Date:: Oct 02, 2008

Time:: 08:13

Hey,

When I created a form on my page to do the same thing, I needed to put a simple PHP page together to actually send the email out. I had no programming experience, but some simple resources online allowed me to do a bit of cut and paste and figure it out.

Not sure if you can accomplish it without, but I did find this article that may help you out:

http://email.about.com/cs/usingemail/a/e...

mary2

Date:: Oct 02, 2008

Time:: 08:15

Just a note on that article...it is talking about accomplishing it through an email, but they are using HTML all the same so it may work without needing a server side language.

If that doesn't work, perhaps somebody else can help you out.

mikeleworthy

Date:: Oct 02, 2008

Time:: 10:36

i don't think thats what i'm looking for john2. um, it's basically a step by step guide to get a form working. I can build the form layout in dreamweaver but i'm not sure what code needs to go where on each field or what documents i need to get the form to send the results to me.

for example this site has one

http://www.sougeyskichalet.com/contact_u...

and would like a very basic version of this.
hope that helps a bit more...
mike.

mary2

Date:: Oct 02, 2008

Time:: 12:08

Mikelworthy...

From what I know, you need to have a page that executes a serverside language like .Net, PHP, ASP, etc. Basically, your form references the server side page and then that will actually send the email.

I found a code that is available in order to accomplish this from what I can see that you can download....you will need to put the site on a Linux server though that supports PHP.

http://www.veign.com/code-view.php?type=...

If you are a beginner...this may take a bit of time to figure out but you CAN do it. If anyone else wants to contribute....feel free.



dustPuppy

Date:: Oct 02, 2008

Time:: 14:39

Hi mikeleworthy,
It is possible to accomplish without you yourself having to do any serverside programming.
Some hosting providers provide a standard formmail.cgi script, which basically is a component already made that will handle a form you submit to it and send the information out as an email.
I would ask your own hosting provider if they have a script like that available, and if they do, they probably also have the documentation to use it.
It is very easy to set up.
Hope this helps you...

mikeleworthy

Date:: Oct 05, 2008

Time:: 14:52

it seems impossible to work out what bits need to go where with the php files.. i shall keep trying but i'm gonna need to work it out. odd that this is so common but seems so difficult.

mikeleworthy

Date:: Oct 08, 2008

Time:: 10:09

i have managed to set one up!!! it took some doing but it's working perfectly. I used john2's form so i guess you get the points! but with some manipulating from my hosting and a bit of code changing in the files it worked! so if anybody wants one i can explain how to do it!
cheers for all the help!

mary2

Date:: Oct 08, 2008

Time:: 10:19

Hey, great to hear!

I recommend that you write an "Answer Summary" to explain the resource and the steps you took so future visitors will be able to use it as well, only if you want to share the knowledge:)

mikeleworthy

Date:: Oct 08, 2008

Time:: 13:47

well here's how to create a working form...

first off you need to go to your hosting company and set up CGI scripting. use PHP test mailer upload and set up the email address you want the form to go to. this should be easily done at your domain control panel.

now you need to go here and download the form itself.

http://www.veign.com/code-view.php?type=...

now open sample-form-email.php in your HTML editor and email-thankyou.php

go to code view in thankyou.php. here's where you need to make the changes. the following top area of the code will be shown as this...

// Code initilization
 $to_email = 'YourName <YourEmail@domain.com>';
 $email_subject = '[Website Form] Testing an email form';
 $err_message = FALSE;
 // Path to the upload folder - incorrect path will cause a 'Move File Error'
 $UPLOAD_DIR = "uploads/";

change the 'YourName <YourEmail@domain.com>' to say 'John Smith <Johnsmith@domain.com>' or whatever your mail scripting address is that you set up earlier. thats all you need to do to get it to send!

save thankyou.php in the same directory as sample-form-email.php. You can manipulate the layout and style of form as you wish.

now upload both files to your site and test it. the form should send all the details to the specified address. this is working for me so hope it does for you!

mikeleworthy

Date:: Oct 08, 2008

Time:: 13:50

note : also upload the other files to the same directory...

class-upload.php
validate.js
style.ccs

Question Answered

This question has been closed, and points have been rewarded to the following experts:


mary2: 25

You're welcome however to comment or give additional information or if you wish, you have the ability to write a Tutorial in the Tutorial Area.

Answer this Question

New User

Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:

Forgot Your Password?

No tutorials have been submitted yet. Want to be the first?

Answer this Question

New User

Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:

Forgot Your Password?

Ask a Question

Have a new question? Ask!

You have 100 characters to use



Top Experts

View More

Rank

Expert

Points

1.

nidhi

10279

2.

oracleofDelphi

6493

3.

rcastagna

5596

4.

LAGM

4848

5.

PeterNZ

3487

6.

gonzalo

2840

7.

Mason

2770

8.

jgivoni

2303

9.

xarcus

1820

10.

Anpanman

917

Become an Expert

Register today to share your knowledge with the community and be recognized and rewarded for your contributions.


Register Here




"Psst, Quomon is a great site. Pass it on."     Tell a Friend  |   Link To Us  |   Save to Delicious  |   Digg! Digg it



Language Options

English:

www.quomon.com

Español:

www.quomon.es