This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > September 2004 > Re: Form results to Email on Submit?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Form results to Email on Submit?
Joe Makowiec

2004-09-28, 7:22 am

On Mon 27 Sep 2004 07:21:58p, SuperGeoff wrote in
macromedia.dreamweaver:

> I need a quick fix for getting my form data to go directly to my
> email. I did this before, but it was years ago.
>
> Can someone tell me how to get it so when a user hits the Submit
> button on my webpage, all the form data goes directly to an email
> address.


You /can/ make mailto:me@mydomain.invalid the form action:
<form method="post" action="mailto:etc...> But it isn't very reliable for
a variety of reasons which are detailed in the newsgroup at least half a
dozen times a week. The best way is with a serverside script; they aren't,
in general, all that hard, and your hosting provider may already have one
available. So: what kind of serverside scripting do you have?
Edd Benson

2004-09-29, 7:17 pm

SuperGeoff wrote:
> I need a quick fix for getting my form data to go directly to my email. I did
> this before, but it was years ago.
>
> Can someone tell me how to get it so when a user hits the Submit button on my
> webpage, all the form data goes directly to an email address.
>
> I know its a cheesy dirty way of doing it, but I just need it temporarly.


mail($toaddress, $subject, $mailcontent, $fromaddress)

--
Edd Benson
ebommi@netscape.net

amoebae leave no fossils
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews