I do this all the time.
The ASP page that contains the CDO commands can be a simple one that
displays something like:
"Your info has been sent by email"
with a button to return the user to an appropriate page.
Or, simply have a page that does not display at all, and send the user back
to the same page as above.
A page showing a message that the email has been sent is more courteous
though.
HTH
Pat
----- Original Message -----
From: "Alex Shiell, ITS, EC, SE" <alex.shiell@s...>
To: "javascript" <javascript@p...>
Sent: Thursday, August 16, 2001 12:32 PM
Subject: [javascript] RE: emailing forms
> nothing to do with client side script. Submit your form as normal to a
CGI
> or ASP in which you parse the form contents and create the email.
>
> If you use Microsoft IIS then write an ASP which uses CDONTS to send the
> mail, other platforms have their own mail components too.
>
> -----Original Message-----
> From: raj chahal [mailto:raj_chahal25@h...]
> Sent: 16 August 2001 13:07
> To: javascript
> Subject: [javascript] emailing forms
>
>
> hi there
>
> would it be possible for the results from a client form to be emailed when
> the submit button is pressed.
>
> I presume the form would be submitted to the server and a response from
the
> server would initiate the email.
>
> how would this be coded in javascript ?
>
> thanks