automatically sending email from asp page

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
 
A

Aaron Bertrand [MVP]

You do it in VBScript, on the server side, after the form gets submitted.
 
J

Jeff Cochran

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top