Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

besler3035

macrumors 6502a
Original poster
Oct 29, 2004
562
110
Grand Rapids, MI
I cannot figure out for the life of me how to finish a form in Dreamweaver MX. I know how to send the results to an e-mail address, but I can't get it to do this without opening up the user's default e-mail client and have the user send it. I'd like to do it all automatically in the background.

Can someone please help, maybe by posting the code or giving me a link to a source who has this type of info? It seems that the newer Dreamweaver has another option on how to send it, so keep in mind that that's not going to help me at all. Remember - DREAMWEAVER MX.

Thanks!
 
it depends on what language you're using and if the web server supports it. that being said, there are *thousands* of examples on the web that should show you how.
this google is for php and asp
http://www.google.com/search?client=safari&rls=en&q=php+asp+send+mail&ie=UTF-8&oe=UTF-8

edit: dreamweaver shouldn't have anything to do with this process since you want it all to be sent from just clicking a submit button. the form's action should send you to the page that processes the form variables, builds the email and sends it. i wouldn't recommend using dreamweaver's (or any wysiwyg) built-in stuff. trying to modify the automatically generated code can be near impossible if you need to go in and tweak some stuff
 
part of being a programmer is being able to find solution for yourself. it shouldn't be that hard to realize, just MAYBE someone might have wrote the same code before.
 
besler3035 said:
I cannot figure out for the life of me how to finish a form in Dreamweaver MX. I know how to send the results to an e-mail address, but I can't get it to do this without opening up the user's default e-mail client and have the user send it. I'd like to do it all automatically in the background.
Sending a web form is reliant on the form-sending software on your Web host's server. Contact your web host for the syntax they use.
 
i recommend vtc.com for studying. 30/mo for a lot of video tutorials on web programming, graphics, 3d and much more.

anyways
you can use cgi/perl, asp or php to do this. the form information is passed to another page with code that the server interprets to do this task. So it is dependent on your hosting server and what installed interpreters it has.

But you will not find a one sentence answer. Its a programming task and you will need to understand the code you are using. Google, rinse and repeat. You can find all kinds of coding sites, like boxesandarrows.com (url? but thats the name), if you just look.

$
 
superbovine said:
part of being a programmer is being able to find solution for yourself. it shouldn't be that hard to realize, just MAYBE someone might have wrote the same code before.

And part of being a student is asking these types of questions.
 
Thanks for the responses. Right now I'm not sure which server the site will end up going on; right now I'm uploading it to my .Mac account until the site is finished, which will then be transferred to the client's server.

I guess it was just easier than this, and thought there was some code to just automatically send an e-mail when hitting that Submit button.
 
superbovine said:
heh... i assumed you knew the concept of web search engines...

It's called I did search, just didn't find what I was looking for. I just found things specific to a certain server, which isn't what I want.
 
superbovine said:
heh... i assumed you knew the concept of web search engines...

Wee bit of 'tude for a guy looking for help eh? Why ask anybody a question, ever, since there's google, right?
:rolleyes:

The methods I've seen that don't use a server script do seem to launch the mail app before sending. I would search around for free scripts that can process your form info on the server end and send out an email from the server. Knowing who your hosting is and what they run helps.
 
decksnap said:
Wee bit of 'tude for a guy looking for help eh? Why ask anybody a question, ever, since there's google, right?
:rolleyes:

The methods I've seen that don't use a server script do seem to launch the mail app before sending. I would search around for free scripts that can process your form info on the server end and send out an email from the server. Knowing who your hosting is and what they run helps.

Thank you for your help.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.