473,383 Members | 1,963 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

automatically sending email from asp page

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
4 1713
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Joe | last post by:
Hi, I am sending an email from an asp page. Besides sending an email to sender, I am sending myself a BCC also. Out of 100 emails sent, about 5 recipients received a blank email (no text in...
3
by: Sam | last post by:
My db looks after the hiring and lending of equipment, the form which books out equipment hired prints a signout sheet and automatically inserts an appointment into outlook advising the operator on...
3
by: VB Programmer | last post by:
I have an ASPX page where I send out emails through my mail server mail.MyDomain.com. When I send emails to MyName@MyDomain.com it sends PERFECTLY. When I try sending an email to any other address...
6
by: Eduardo Rosa | last post by:
Somebody knows how I queue email using .Net? thanks a lot
1
by: Eric Sheu | last post by:
Greetings, I have been searching the web like mad for a solution to my SMTP problem. I am using Windows Server 2003 and ASP.NET 2.0 w/ C# to send out e-mails from a web site I have created to...
4
by: Roger Withnell | last post by:
I'm sending Russian text in an email generated from the website which displays in the email as ?????????? The website is set to codepage 65001 and the charset to utf-8. Please advise. ...
2
by: Jodye Roebuck | last post by:
I have a program that's been automatically generating and sending emails flawlessly. My clients workstation had an automatic Microsoft security update done on it.. and now it's bombing on this...
0
by: trram1972 | last post by:
Hi, One error has come while trying to send email automatically using the code snippet - Createdispatch failed w/error. This error is coming only when we are trying to call inside a function....
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.