Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > automatically sending email from asp page

Reply
Thread Tools

automatically sending email from asp page

 
 
AMC
Guest
Posts: n/a
 
      05-25-2004
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


 
Reply With Quote
 
 
 
 
Aaron Bertrand [MVP]
Guest
Posts: n/a
 
      05-25-2004
You do it in VBScript, on the server side, after the form gets submitted.

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


"AMC" <> wrote in message
news:...
> 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
>
>



 
Reply With Quote
 
 
 
 
Jeff Cochran
Guest
Posts: n/a
 
      05-25-2004
On Mon, 24 May 2004 19:40:59 -0700, "AMC" <> 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
 
Reply With Quote
 
AMC
Guest
Posts: n/a
 
      05-26-2004
Thanks

"Aaron Bertrand [MVP]" <> wrote in message
news:...
> You do it in VBScript, on the server side, after the form gets submitted.
>
> --
> Aaron Bertrand
> SQL Server MVP
> http://www.aspfaq.com/
>
>
> "AMC" <> wrote in message
> news:...
> > 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
> >
> >

>
>



 
Reply With Quote
 
AMC
Guest
Posts: n/a
 
      05-26-2004
Thanks
"Jeff Cochran" <> wrote in message
news:...
> On Mon, 24 May 2004 19:40:59 -0700, "AMC" <> 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



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem sending mail: Sending the email to the following server failed Luke Java 2 03-15-2007 10:54 AM
Question about sending email from ASP page =?Utf-8?B?Sm9l?= ASP .Net 1 09-13-2005 09:49 AM
Question about sending email from ASP page Joe ASP General 1 09-13-2005 01:19 AM
Problem sending email through asp.net page (only certain addresses) VB Programmer ASP .Net 3 08-09-2004 08:35 PM
Problem with sending email from asp.net page using smtp bivin ASP .Net 1 06-27-2003 09:15 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57