By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,454 Members | 1,804 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,454 IT Pros & Developers. It's quick & easy.

automatically sending email from asp page

P: n/a
AMC
Hi,

I have a page that allows user input. On click of the submit button I call a
javascript function that verifies that all of the fields are filled out and
then submits the form. I need to add code after the verification that
creates and sends an email. I know how to do this in VBscript, but don't
know how to call a vbscript function from a jscript function (is this even
possible?). Any help would be appreciated. I don't want the users email
client to open, everything must be done in code.

Thanks,
AMC
Jul 19 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
You do it in VBScript, on the server side, after the form gets submitted.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
"AMC" <ab*****@netgate.net> wrote in message
news:uS**************@tk2msftngp13.phx.gbl...
Hi,

I have a page that allows user input. On click of the submit button I call
a
javascript function that verifies that all of the fields are filled out
and
then submits the form. I need to add code after the verification that
creates and sends an email. I know how to do this in VBscript, but don't
know how to call a vbscript function from a jscript function (is this even
possible?). Any help would be appreciated. I don't want the users email
client to open, everything must be done in code.

Thanks,
AMC

Jul 19 '05 #2

P: n/a
On Mon, 24 May 2004 19:40:59 -0700, "AMC" <ab*****@netgate.net> wrote:
I have a page that allows user input. On click of the submit button I call a
javascript function that verifies that all of the fields are filled out and
then submits the form. I need to add code after the verification that
creates and sends an email. I know how to do this in VBscript, but don't
know how to call a vbscript function from a jscript function (is this even
possible?). Any help would be appreciated. I don't want the users email
client to open, everything must be done in code.


FAQ:

How do I send e-mail from ASP?
http://www.aspfaq.com/show.asp?id=2119

Jeff
Jul 19 '05 #3

P: n/a
AMC
Thanks

"Aaron Bertrand [MVP]" <aa***@TRASHaspfaq.com> wrote in message
news:uK**************@TK2MSFTNGP10.phx.gbl...
You do it in VBScript, on the server side, after the form gets submitted.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
"AMC" <ab*****@netgate.net> wrote in message
news:uS**************@tk2msftngp13.phx.gbl...
Hi,

I have a page that allows user input. On click of the submit button I call a
javascript function that verifies that all of the fields are filled out
and
then submits the form. I need to add code after the verification that
creates and sends an email. I know how to do this in VBscript, but don't
know how to call a vbscript function from a jscript function (is this even possible?). Any help would be appreciated. I don't want the users email
client to open, everything must be done in code.

Thanks,
AMC


Jul 19 '05 #4

P: n/a
AMC
Thanks
"Jeff Cochran" <jc*************@naplesgov.com> wrote in message
news:40****************@msnews.microsoft.com...
On Mon, 24 May 2004 19:40:59 -0700, "AMC" <ab*****@netgate.net> wrote:
I have a page that allows user input. On click of the submit button I call ajavascript function that verifies that all of the fields are filled out andthen submits the form. I need to add code after the verification that
creates and sends an email. I know how to do this in VBscript, but don't
know how to call a vbscript function from a jscript function (is this evenpossible?). Any help would be appreciated. I don't want the users email
client to open, everything must be done in code.


FAQ:

How do I send e-mail from ASP?
http://www.aspfaq.com/show.asp?id=2119

Jeff

Jul 19 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.