Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating User Form for Dreamweaver Site to send info via email.

Status
Not open for further replies.

kjv1611

Active member
Joined
Jul 9, 2003
Messages
10,758
Location
US
I am not terribly experienced with Dreamweaver as of yet. I have a web page where I am trying to create a user form that sends the data from the text fields to an email address. Any readible format in the email will be fine for now, and I can always customize it later.

I would like to do something like this if possible:

Loop through the fields, and add the fields to a blank email, and send it from the email address entered into the form "email" field.

Thanks for any advise. I tried messing with setting the button to "submit", and tried putting "mailto:myemail@myemail.com" - the to: email address, but when testing it on a computer with no outlook email setup, it seems to say "no email configured, and also trying to send unencrypted." or something to that extent.

Anyway, I'm very new at this venture, and would appreciate any info/advice, whether typed here, or a link to a helpful website with that specific information.

Thanks in advance!
 
Using the form action:[action=mailto:you@server.com] uses the installed email client on the browsing PC to send the email. The problem you described if no mail client is configured is normal, and is why the method is not normally used

You'll need to use either Javascript, or some server side code to complish both tasks.

Depending on what is available to you, there can be different methods.

For more info on specific languages here are the different fourms:

Javascript: forum216

Server Side Languages:

ASP: forum333
PHP: forum434
Cold Fusion: forum232


----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
This can be done using a CGI script aswell, i posted a fairly comprehensive one i've written somwhere on the boards, unfrotunatly i've not been able to find it.

Have a search around though.

Rob

p.s. on another note, if you're going to the hassle of learning a new Sever Side language then make sure its ColdFusion, its the best option by a looooooooooooooooooooooooooooooong shot.

Rob
 
Thanks for the posts so far! I'll have a look into this a little further. I guess I was just hoping there would be a simple way to setup a form to send information from the website user to the website owner. Guess it's not quite so simple after all. Well, just one more thing for me to learn. Time to "go get'em!" [snail]
 
One other note, in case anyone else has any helpful info. I didn't put this earlier, this is using Macromedia Dreamweaver MX.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top