473,396 Members | 1,755 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,396 software developers and data experts.

clueless about error 80040108

suddenly get this error:
error '80040108'

/geta.asp, line 23

which is : ObjMail.Body = "Instructions" & vbtab & instructions & vbcrlf&_

and while I'm at it, why did the 'yourname' and the 'creditcard' fields return
blank values, (when there was no error, that is).
this is the code:

<%
Dim
instructions,track,bladder,yourname,address,city,s tate,zip,country,phone,creditc
ard,expdate,email
instructions = Request.Form("instructions")
track = Request.Form("track")
bladder = Request.Form("bladder")
yourname = Request.Form("yourname")
address = Request.Form("address")
city = Request.Form("city")
state = Request.Form("state")
zip = Request.Form("zip")
country = Request.Form("country")
phone = Request.Form("phone")
creditcard = Request.Form("creditcard")
expdate = Request.Form("expdate")
email = Request.Form("email")
Dim kits
kits = Request.Form("kits")
Dim ObjMail
Set ObjMail = Server.CreateObject("CDONTS.NewMail")
ObjMail.To = "hw*****@cox.net"
ObjMail.From = "in**@dinghydogs.com"
ObjMail.Subject = "Dinghy Dogs order"
ObjMail.Body = "Instructions" & vbtab & instructions & vbcrlf&_
"Track" & vbtab & track & vbcrlf&_
"Bladder" & vbtab & bladder & vbcrlf&_
"Name" & vbtab & yourname & vbcrlf&_
"Address" & vbtab & address & vbcrlf&_
"City" & vbtab & city & vbcrlf&_
"State" & vbtab & state & vbcrlf&_
"Zip" & vbtab & zip & vbcrlf&_
"Country" & vbtab & country & vbcrlf&_
"Phone" & vbtab & phone & vbcrlf&_
"Card#" & vbtab & credit & vbcrlf&_
"Exp.Date" & vbtab & expdate & vbcrlf&_
"Email" & vbtab & email & vbcrlf&_
"Ordered" & vbtab & kits & vbcrlf&_
ObjMail.Send
Set ObjMail = Nothing
Response.Write"Thank You For Your Order"

--
Harvey Waxman DMD
73 Wright Lane
Wickford, RI 02852
Remove thefrown to email me
Jul 19 '05 #1
10 3117
See here: http://www.aspfaq.com/show.asp?id=2386

Also, unless you're on an NT 4 server, you should switch to CDO. CDONTS has
been retired. http://www.aspfaq.com/show.asp?id=2026

Ray at work
"Harvey Waxman" <hw*****@thefrowncox.net> wrote in message
news:hw***************************@msnews.microsof t.com...
suddenly get this error:
error '80040108'

/geta.asp, line 23

which is : ObjMail.Body = "Instructions" & vbtab & instructions & vbcrlf&_
and while I'm at it, why did the 'yourname' and the 'creditcard' fields return blank values, (when there was no error, that is). Set ObjMail = Server.CreateObject("CDONTS.NewMail")

Jul 19 '05 #2
In article <uU*************@TK2MSFTNGP10.phx.gbl>,
"Ray at <%=sLocation%> [MVP]" <myfirstname at lane34 dot com> wrote:
See here: http://www.aspfaq.com/show.asp?id=2386

Also, unless you're on an NT 4 server, you should switch to CDO. CDONTS has
been retired. http://www.aspfaq.com/show.asp?id=2026

Ray at work


Thank you very much. Now if I can only figure out what to do and how to do it
:-)
--
Harvey Waxman DMD
73 Wright Lane
Wickford, RI 02852
Remove thefrown to email me
Jul 19 '05 #3
"Harvey Waxman" <hw*****@thefrowncox.net> wrote in message
news:hw***************************@msnews.microsof t.com...
suddenly get this error:
error '80040108'

/geta.asp, line 23

which is : ObjMail.Body = "Instructions" & vbtab & instructions & vbcrlf&_
"Email" & vbtab & email & vbcrlf&_
"Ordered" & vbtab & kits & vbcrlf&_
ObjMail.Send


look at :

"Ordered" & vbtab & kits & vbcrlf&_
--
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserv...y/centers/iis/

Jul 19 '05 #4
In article <hw***************************@msnews.microsoft.co m>,
Harvey Waxman <hw*****@thefrowncox.net> wrote:
Also, unless you're on an NT 4 server, you should switch to CDO. CDONTS
has
been retired. http://www.aspfaq.com/show.asp?id=2026

Ray at work


Thank you very much. Now if I can only figure out what to do and how to do
it
:-)


Ray,

As I said, I know nothing about ASP. I just modified a script I found. What I
see in your references are tutorials that assume I know far more than I do.

Is there any resource where I can find a simple script to email a basic form on
my web page with CDO instead of CDONTS?


--
Harvey Waxman DMD
73 Wright Lane
Wickford, RI 02852
Remove thefrown to email me
Jul 19 '05 #5

"Harvey Waxman" <hw*****@thefrowncox.net> wrote in message
news:hw***************************@msnews.microsof t.com...

As I said, I know nothing about ASP. I just modified a script I found. What I see in your references are tutorials that assume I know far more than I do.
Is there any resource where I can find a simple script to email a basic form on my web page with CDO instead of CDONTS?


Did you read the second link? http://www.aspfaq.com/show.asp?id=2026

Ray at work
Jul 19 '05 #6
In article <c1**********@kcweb01.netnews.att.com>,
"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote:
look at :

"Ordered" & vbtab & kits & vbcrlf&_


That line doesn't return an error. It also looks exactly the same to me as the
line that does return the error.

"Instructions" & vbtab & instructions & vbcrlf&_

what do you mean?
--
Harvey Waxman DMD
73 Wright Lane
Wickford, RI 02852
Remove thefrown to email me
Jul 19 '05 #7
"Harvey Waxman" <hw*****@thefrowncox.net> wrote in message
news:hw***************************@msnews.microsof t.com...
In article <c1**********@kcweb01.netnews.att.com>,
"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote:
look at :

"Ordered" & vbtab & kits & vbcrlf&_
That line doesn't return an error. It also looks exactly the same to me

as the line that does return the error.

"Instructions" & vbtab & instructions & vbcrlf&_

what do you mean?


The "&_" at the end of the line means you want to concatenate it with the
next line, which I think is the ".Send" one. That's not what you want to
happen, is it?

--
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserv...y/centers/iis/

Jul 19 '05 #8
In article <c1**********@kcweb01.netnews.att.com>,
"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote:
"Harvey Waxman" <hw*****@thefrowncox.net> wrote in message
news:hw***************************@msnews.microsof t.com...
In article <c1**********@kcweb01.netnews.att.com>,
"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote:
look at :

"Ordered" & vbtab & kits & vbcrlf&_


That line doesn't return an error. It also looks exactly the same to me

as the
line that does return the error.

"Instructions" & vbtab & instructions & vbcrlf&_

what do you mean?


The "&_" at the end of the line means you want to concatenate it with the
next line, which I think is the ".Send" one. That's not what you want to
happen, is it?


The line beginning with "instructions" is the first line of a series of fields
to be returned.

This is the code:

<%
Dim
instructions,track,bladder,yourname,address,city,s tate,zip,country,phone,creditc
ard,expdate,email
instructions = Request.Form("instructions")
track = Request.Form("track")
bladder = Request.Form("bladder")
yourname = Request.Form("yourname")
address = Request.Form("address")
city = Request.Form("city")
state = Request.Form("state")
zip = Request.Form("zip")
country = Request.Form("country")
phone = Request.Form("phone")
creditcard = Request.Form("creditcard")
expdate = Request.Form("expdate")
email = Request.Form("email")
Dim kits
kits = Request.Form("kits")
Dim ObjMail
Set ObjMail = Server.CreateObject("CDONTS.NewMail")
ObjMail.To = "hw*****@cox.net"
ObjMail.From = "in**@dinghydogs.com"
ObjMail.Subject = "Dinghy Dogs order"
ObjMail.Body = "Instructions" & vbtab & instructions & vbcrlf&_
"Track" & vbtab & track & vbcrlf&_
"Bladder" & vbtab & bladder & vbcrlf&_
"Name" & vbtab & yourname & vbcrlf&_
"Address" & vbtab & address & vbcrlf&_
"City" & vbtab & city & vbcrlf&_
"State" & vbtab & state & vbcrlf&_
"Zip" & vbtab & zip & vbcrlf&_
"Country" & vbtab & country & vbcrlf&_
"Phone" & vbtab & phone & vbcrlf&_
"Card#" & vbtab & credit & vbcrlf&_
"Exp.Date" & vbtab & expdate & vbcrlf&_
"Email" & vbtab & email & vbcrlf&_
"Ordered" & vbtab & kits & vbcrlf&
ObjMail.Send
Set ObjMail = Nothing
Response.Write"Thank You For Your Order"
%>


--
Harvey Waxman DMD
73 Wright Lane
Wickford, RI 02852
Remove thefrown to email me
Jul 19 '05 #9
In article <hw***************************@msnews.microsoft.co m>,
Harvey Waxman <hw*****@thefrowncox.net> wrote:
In article <c1**********@kcweb01.netnews.att.com>,
"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote:
"Harvey Waxman" <hw*****@thefrowncox.net> wrote in message
news:hw***************************@msnews.microsof t.com...
In article <c1**********@kcweb01.netnews.att.com>,
"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote:

> look at :
>
> "Ordered" & vbtab & kits & vbcrlf&_


It was the " & vbcrlf&_" that needed to be removed from this line. I
misunderstood what people were telling me.

thanks all

<%
Dim instructions,track,bladder,yourname,address,city,s tate,zip,country,phone,creditcard,expdate,email
instructions = Request.Form("instructions")
track = Request.Form("track")
bladder = Request.Form("bladder")
yourname = Request.Form("yourname")
address = Request.Form("address")
city = Request.Form("city")
state = Request.Form("state")
snip
"Country" & vbtab & country & vbcrlf&_
"Phone" & vbtab & phone & vbcrlf&_
"Card#" & vbtab & credit & vbcrlf&_
"Exp.Date" & vbtab & expdate & vbcrlf&_
"Email" & vbtab & email & vbcrlf&_
"Ordered" & vbtab & kits & vbcrlf&
ObjMail.Send
Set ObjMail = Nothing
Response.Write"Thank You For Your Order"
%>

Jul 19 '05 #10
"Harvey Waxman" <hw*****@thefrowncox.net> wrote in message
news:hw***************************@msnews.microsof t.com...
In article <hw***************************@msnews.microsoft.co m>,
Harvey Waxman <hw*****@thefrowncox.net> wrote:
In article <c1**********@kcweb01.netnews.att.com>,
"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote:
"Harvey Waxman" <hw*****@thefrowncox.net> wrote in message
news:hw***************************@msnews.microsof t.com...
> In article <c1**********@kcweb01.netnews.att.com>,
> "Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote:
>
> > look at :
> >
> > "Ordered" & vbtab & kits & vbcrlf&_
>

It was the " & vbcrlf&_" that needed to be removed from this line. I
misunderstood what people were telling me.


Yup!
Jul 19 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: les | last post by:
I am working on a homework assignment and trying to use cPickle to store the answers from questor.py I believe I have the syntax correct but am not sure if I am placing everything where it needs to...
2
by: Brian | last post by:
Taking cluelessness to a whole new level. < http://support.apollohosting.com/ > The beginning of the html is below. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> ...
4
by: | last post by:
Ok... well... I'm a noob as far as templates go, and casting and such... never bothered to learn much about this stuff... but now I've got a good reason to care, so i'm just wondering what's going...
5
by: thatseattleguy | last post by:
I'm stumped. Visit: http://positivesweat.com/class.html ....and look at the tables in the middle labeled "morning" and "evening". Do this in both IE and Firefox. The tables appear to me to...
7
by: Ottar | last post by:
I've made a program sorting incomming mail in public folder. The function runs every minute by using the form.timer event. In Access XP it runs for weeks, no problem. Access 2003 runs the same...
4
by: Ottar | last post by:
Error: 80040108 after 380 CreateObject("MAPI.Session") Function MAPI_Test2() Dim i As Integer Dim MySession As MAPI.Session i = 0 While (i < 2000) Set MySession =...
2
Dunja
by: Dunja | last post by:
All I want to do is create a command button to navigate through records on my form page. I created a kick ass form...but I do not like the navigating records thing on the bottom it automatically...
2
Dormilich
by: Dormilich | last post by:
Hi, currently I'm stuck on finding the error of one of my functions. I try to read data out of MySQL using PDO. the SQL string is loaded as Prepared Statement (PDO->prepare()) and shall be...
3
by: eggman89 | last post by:
Hi I'm doing my Fourth Year B.E. project under the internship of MindTree! Now they have only told us what to do , but haven't guide much! Now, we have been told to develop an search...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.