IIS ASP - automatically sending email from asp page

This is Interesting: Free IT Magazines  
Home > Archive > IIS ASP > May 2004 > automatically sending email from asp page





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 automatically sending email from asp page
AMC

2004-05-24, 11:32 pm

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


Aaron Bertrand [MVP]

2004-05-24, 11:32 pm

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

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"AMC" <aboehme@netgate.net> wrote in message
news:uS3txGgQEHA.3944@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
>
>



Jeff Cochran

2004-05-24, 11:32 pm

On Mon, 24 May 2004 19:40:59 -0700, "AMC" <aboehme@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
AMC

2004-05-30, 11:53 am

Thanks

"Aaron Bertrand [MVP]" <aaron@TRASHaspfaq.com> wrote in message
news:uKWNHVgQEHA.4000@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" <aboehme@netgate.net> wrote in message
> news:uS3txGgQEHA.3944@tk2msftngp13.phx.gbl...
call[vbcol=seagreen]
even[vbcol=seagreen]
>
>



AMC

2004-05-30, 11:53 am

Thanks
"Jeff Cochran" <jcochran.nospam@naplesgov.com> wrote in message
news:40b3b902.361541338@msnews.microsoft.com...
> On Mon, 24 May 2004 19:40:59 -0700, "AMC" <aboehme@netgate.net> wrote:
>
call a[vbcol=seagreen]
and[vbcol=seagreen]
even[vbcol=seagreen]
>
> FAQ:
>
> How do I send e-mail from ASP?
> http://www.aspfaq.com/show.asp?id=2119
>
> Jeff



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com