473,626 Members | 3,531 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CDONTS not working on W2000 Server

I am trying to run a test sending mail using CDONTS on my W2K3
machine.

It works fine running from my WXP Pro, but I don't recieve the mail if
run the W2K3 machine.

Both machines have IIS configured essentially the same.
*************** *************** *************** *************** *************** ***************
<%@LANGUAGE="VB SCRIPT" CODEPAGE="1252" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<title>Untitl ed Document</title>
</head>

<body>

<%
response.write( "Before Request.ServerV ariables variable = " &
Request.ServerV ariables("LOCAL _ADDR") & "<br>")

response.write( "after Request.ServerV ariables variable = " &
Request.ServerV ariables("LOCAL _ADDR") & "<br>")

Dim iMsg
Dim iConf
Dim Flds
Dim strHTML

Const cdoSendUsingPic kup = 1

set iMsg = CreateObject("C DO.Message")
set iConf = CreateObject("C DO.Configuratio n")

Set Flds = iConf.Fields
With Flds
.Item("http://schemas.microso ft.com/cdo/configuration/sendusing")
= cdoSendUsingPic kup
' TODO: Replace <PICKUP DIRECTORY> with path to your
pickup directory
' Typically, c:\Inetpub\mail root\pickup
.Item("http://schemas.microso ft.com/cdo/configuration/smtpserverpicku pdirectory")="C :\Inetpub\mailr oot\pickup"
.Item("http://schemas.microso ft.com/cdo/configuration/smtpserver")="s mtp.interez.com "
.Update
End With

Dim iBP
With iMsg
Set .Configuration = iConf
.To = "tf*@ftsolution s.com"
.From = "tf*@ftsolution s.com"
.Subject = "A test page"
.HTMLBody = "This is a test page"
'TODO: if adding an attachment,
'uncomment the next line and alter file path as required
'Set iBP = iMsg.AddAttachm ent(App.Path & "\file1.txt ")
.Send
End With
' Clean up variables.
Set iBP = Nothing
Set iMsg = Nothing
Set iConf = Nothing
Set Flds = Nothing

%>
</body>
</html>
*************** *************** *************** *************** **************
Is there something in Exchange that might be giving me a problem.

Exchange is not running on either machine.

Thanks,

Tom.
Jul 22 '05 #1
12 1953
Have you tried different domains (e.g. change the from and to to a hotmail
account)?
http://www.aspfaq.com/2511

Did you check in the badmail, queue, pickup folders, etc?
http://www.aspfaq.com/2254
http://www.aspfaq.com/2268

Since you have an SMTP server listed in the configuration properties, did
you try using cdoSendUsingPor t instead cdoSendUsingPic kup?

--
http://www.aspfaq.com/
(Reverse address to reply.)


"tshad" <ts**********@f tsolutions.com> wrote in message
news:#v******** *****@TK2MSFTNG P11.phx.gbl...
I am trying to run a test sending mail using CDONTS on my W2K3
machine.

It works fine running from my WXP Pro, but I don't recieve the mail if run the W2K3 machine.

Both machines have IIS configured essentially the same.
*************** *************** *************** *************** *************** *
************** <%@LANGUAGE="VB SCRIPT" CODEPAGE="1252" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<title>Untitl ed Document</title>
</head>

<body>

<%
response.write( "Before Request.ServerV ariables variable = " &
Request.ServerV ariables("LOCAL _ADDR") & "<br>")

response.write( "after Request.ServerV ariables variable = " &
Request.ServerV ariables("LOCAL _ADDR") & "<br>")

Dim iMsg
Dim iConf
Dim Flds
Dim strHTML

Const cdoSendUsingPic kup = 1

set iMsg = CreateObject("C DO.Message")
set iConf = CreateObject("C DO.Configuratio n")

Set Flds = iConf.Fields
With Flds
..Item("http://schemas.microso ft.com/cdo/configuration/sendusing") = cdoSendUsingPic kup
' TODO: Replace <PICKUP DIRECTORY> with path to your
pickup directory
' Typically, c:\Inetpub\mail root\pickup
..Item("http://schemas.microso ft.com/cdo/configuration/smtpserverpicku pdirect
ory")="C:\Inetp ub\mailroot\pic kup" ..Item("http://schemas.microso ft.com/cdo/configuration/smtpserver")="s mtp.int
erez.com" .Update
End With

Dim iBP
With iMsg
Set .Configuration = iConf
.To = "tf*@ftsolution s.com"
.From = "tf*@ftsolution s.com"
.Subject = "A test page"
.HTMLBody = "This is a test page"
'TODO: if adding an attachment,
'uncomment the next line and alter file path as required
'Set iBP = iMsg.AddAttachm ent(App.Path & "\file1.txt ")
.Send
End With
' Clean up variables.
Set iBP = Nothing
Set iMsg = Nothing
Set iConf = Nothing
Set Flds = Nothing

%>
</body>
</html>
*************** *************** *************** *************** ************** Is there something in Exchange that might be giving me a problem.

Exchange is not running on either machine.

Thanks,

Tom.

Jul 22 '05 #2
On Mon, 15 Nov 2004 11:46:26 -0800, "tshad"
<ts**********@f tsolutions.com> wrote:
I am trying to run a test sending mail using CDONTS on my W2K3
machine.

It works fine running from my WXP Pro, but I don't recieve the mail if
run the W2K3 machine.
CDONTS doesn't exist on Server 2003, switch to CDO.Message. See:

http://www.aspfaq.com/show.asp?id=2026

But of course your code below already uses CDO so that may not be your
issue. Post error messages, check the queues, make sure that
smtp.interez.co m is available to your system, etc.

Jeff
Both machines have IIS configured essentially the same.
*************** *************** *************** *************** *************** ***************
<%@LANGUAGE="VB SCRIPT" CODEPAGE="1252" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<title>Untitl ed Document</title>
</head>

<body>

<%
response.write( "Before Request.ServerV ariables variable = " &
Request.Server Variables("LOCA L_ADDR") & "<br>")

response.write( "after Request.ServerV ariables variable = " &
Request.Server Variables("LOCA L_ADDR") & "<br>")

Dim iMsg
Dim iConf
Dim Flds
Dim strHTML

Const cdoSendUsingPic kup = 1

set iMsg = CreateObject("C DO.Message")
set iConf = CreateObject("C DO.Configuratio n")

Set Flds = iConf.Fields
With Flds
.Item("http://schemas.microso ft.com/cdo/configuration/sendusing")
= cdoSendUsingPic kup
' TODO: Replace <PICKUP DIRECTORY> with path to your
pickup directory
' Typically, c:\Inetpub\mail root\pickup
.Item("http://schemas.microso ft.com/cdo/configuration/smtpserverpicku pdirectory")="C :\Inetpub\mailr oot\pickup"
.Item("http://schemas.microso ft.com/cdo/configuration/smtpserver")="s mtp.interez.com "
.Update
End With

Dim iBP
With iMsg
Set .Configuration = iConf
.To = "tf*@ftsolution s.com"
.From = "tf*@ftsolution s.com"
.Subject = "A test page"
.HTMLBody = "This is a test page"
'TODO: if adding an attachment,
'uncomment the next line and alter file path as required
'Set iBP = iMsg.AddAttachm ent(App.Path & "\file1.txt ")
.Send
End With
' Clean up variables.
Set iBP = Nothing
Set iMsg = Nothing
Set iConf = Nothing
Set Flds = Nothing

%>
</body>
</html>
*************** *************** *************** *************** **************
Is there something in Exchange that might be giving me a problem.

Exchange is not running on either machine.

Thanks,

Tom.


Jul 22 '05 #3
> make sure that smtp.interez.co m is available to your system,

Since he specified cdoSendUsingPic kup, I don't think this setting even comes
into play. An external SMTP server wouldn't be able to grab mail from his
local pickup folder anyway...

A
Jul 22 '05 #4
"Aaron [SQL Server MVP]" <te*****@dnartr eb.noraa> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
Have you tried different domains (e.g. change the from and to to a hotmail
account)?
http://www.aspfaq.com/2511

Did you check in the badmail, queue, pickup folders, etc?
http://www.aspfaq.com/2254
http://www.aspfaq.com/2268

Since you have an SMTP server listed in the configuration properties, did
you try using cdoSendUsingPor t instead cdoSendUsingPic kup?
Haven't tried these yet. Not sure what they do - will look at the faqs you
quoted.

I assumed it was working correctly, since XP didn't have a problem.

Thanks,

Tom.
--
http://www.aspfaq.com/
(Reverse address to reply.)


"tshad" <ts**********@f tsolutions.com> wrote in message
news:#v******** *****@TK2MSFTNG P11.phx.gbl...
I am trying to run a test sending mail using CDONTS on my W2K3
machine.

It works fine running from my WXP Pro, but I don't recieve the mail

if
run the W2K3 machine.

Both machines have IIS configured essentially the same.

*************** *************** *************** *************** *************** *
**************
<%@LANGUAGE="VB SCRIPT" CODEPAGE="1252" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<title>Untitl ed Document</title>
</head>

<body>

<%
response.write( "Before Request.ServerV ariables variable = " &
Request.ServerV ariables("LOCAL _ADDR") & "<br>")

response.write( "after Request.ServerV ariables variable = " &
Request.ServerV ariables("LOCAL _ADDR") & "<br>")

Dim iMsg
Dim iConf
Dim Flds
Dim strHTML

Const cdoSendUsingPic kup = 1

set iMsg = CreateObject("C DO.Message")
set iConf = CreateObject("C DO.Configuratio n")

Set Flds = iConf.Fields
With Flds

.Item("http://schemas.microso ft.com/cdo/configuration/sendusing")
= cdoSendUsingPic kup
' TODO: Replace <PICKUP DIRECTORY> with path to your
pickup directory
' Typically, c:\Inetpub\mail root\pickup

.Item("http://schemas.microso ft.com/cdo/configuration/smtpserverpicku pdirect
ory")="C:\Inetp ub\mailroot\pic kup"

.Item("http://schemas.microso ft.com/cdo/configuration/smtpserver")="s mtp.int
erez.com"
.Update
End With

Dim iBP
With iMsg
Set .Configuration = iConf
.To = "tf*@ftsolution s.com"
.From = "tf*@ftsolution s.com"
.Subject = "A test page"
.HTMLBody = "This is a test page"
'TODO: if adding an attachment,
'uncomment the next line and alter file path as required
'Set iBP = iMsg.AddAttachm ent(App.Path & "\file1.txt ")
.Send
End With
' Clean up variables.
Set iBP = Nothing
Set iMsg = Nothing
Set iConf = Nothing
Set Flds = Nothing

%>
</body>
</html>

*************** *************** *************** *************** **************
Is there something in Exchange that might be giving me a problem.

Exchange is not running on either machine.

Thanks,

Tom.


Jul 22 '05 #5
"Jeff Cochran" <je*********@zi na.com> wrote in message
news:41******** *********@msnew s.microsoft.com ...
On Mon, 15 Nov 2004 11:46:26 -0800, "tshad"
<ts**********@f tsolutions.com> wrote:
I am trying to run a test sending mail using CDONTS on my W2K3
machine.

It works fine running from my WXP Pro, but I don't recieve the mail
if
run the W2K3 machine.
CDONTS doesn't exist on Server 2003, switch to CDO.Message. See:

http://www.aspfaq.com/show.asp?id=2026

But of course your code below already uses CDO so that may not be your
issue. Post error messages, check the queues, make sure that
smtp.interez.co m is available to your system, etc.


I actually copied CDONTS to my server anyway from a 2000 server, just to see
if that was the problem - it wasn't.

However, you raise a good point - and I assumed (bad word) that if I was
setting the smtpserver in the program it should work fine. Do I need to
define the SMTP server (which is exchange and on another server) in my W2K3
somewhere? Even though it seems to have SMTP set up in the services - do I
need to point it to the Exchange server and will I have a relay problem in
this configuration?

Thanks,

Tom. Jeff
Both machines have IIS configured essentially the same.

*************** *************** *************** *************** *************** ***************
<%@LANGUAGE="VB SCRIPT" CODEPAGE="1252" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<title>Untitl ed Document</title>
</head>

<body>

<%
response.write( "Before Request.ServerV ariables variable = " &
Request.Serve rVariables("LOC AL_ADDR") & "<br>")

response.write( "after Request.ServerV ariables variable = " &
Request.Serve rVariables("LOC AL_ADDR") & "<br>")

Dim iMsg
Dim iConf
Dim Flds
Dim strHTML

Const cdoSendUsingPic kup = 1

set iMsg = CreateObject("C DO.Message")
set iConf = CreateObject("C DO.Configuratio n")

Set Flds = iConf.Fields
With Flds

.Item("http://schemas.microso ft.com/cdo/configuration/sendusing")
= cdoSendUsingPic kup
' TODO: Replace <PICKUP DIRECTORY> with path to your
pickup directory
' Typically, c:\Inetpub\mail root\pickup

.Item("http://schemas.microso ft.com/cdo/configuration/smtpserverpicku pdirectory")="C :\Inetpub\mailr oot\pickup"

.Item("http://schemas.microso ft.com/cdo/configuration/smtpserver")="s mtp.interez.com "
.Update
End With

Dim iBP
With iMsg
Set .Configuration = iConf
.To = "tf*@ftsolution s.com"
.From = "tf*@ftsolution s.com"
.Subject = "A test page"
.HTMLBody = "This is a test page"
'TODO: if adding an attachment,
'uncomment the next line and alter file path as required
'Set iBP = iMsg.AddAttachm ent(App.Path & "\file1.txt ")
.Send
End With
' Clean up variables.
Set iBP = Nothing
Set iMsg = Nothing
Set iConf = Nothing
Set Flds = Nothing

%>
</body>
</html>

*************** *************** *************** *************** **************
Is there something in Exchange that might be giving me a problem.

Exchange is not running on either machine.

Thanks,

Tom.

Jul 22 '05 #6
On Mon, 15 Nov 2004 15:56:38 -0500, "Aaron [SQL Server MVP]"
<te*****@dnartr eb.noraa> wrote:
make sure that smtp.interez.co m is available to your system,


Since he specified cdoSendUsingPic kup, I don't think this setting even comes
into play. An external SMTP server wouldn't be able to grab mail from his
local pickup folder anyway...


Missed that. Then he needs to have an SMTP server running, and he
said he didn't have Exchange on the systems.

Perhaps the OP could test with a generic CDO script using a remote
server.

Jeff
Jul 22 '05 #7
On Mon, 15 Nov 2004 13:01:36 -0800, "tshad"
<ts**********@f tsolutions.com> wrote:
"Aaron [SQL Server MVP]" <te*****@dnartr eb.noraa> wrote in message
news:%2******* *********@TK2MS FTNGP09.phx.gbl ...
Have you tried different domains (e.g. change the from and to to a hotmail
account)?
http://www.aspfaq.com/2511

Did you check in the badmail, queue, pickup folders, etc?
http://www.aspfaq.com/2254
http://www.aspfaq.com/2268

Since you have an SMTP server listed in the configuration properties, did
you try using cdoSendUsingPor t instead cdoSendUsingPic kup?


Haven't tried these yet. Not sure what they do - will look at the faqs you
quoted.

I assumed it was working correctly, since XP didn't have a problem.


Dumb question: Do you have the Server 2003 firewall on? Blocking
port 25? And you can test your 2003 SMTP server outside of this to
make sure it's working, see:

HOW TO: Test SMTP Services Manually in Windows Server 2003
http://support.microsoft.com/default...b;en-us;323350

Jeff
--
http://www.aspfaq.com/
(Reverse address to reply.)


"tshad" <ts**********@f tsolutions.com> wrote in message
news:#v******** *****@TK2MSFTNG P11.phx.gbl...
I am trying to run a test sending mail using CDONTS on my W2K3
machine.

It works fine running from my WXP Pro, but I don't recieve the mail

if
run the W2K3 machine.

Both machines have IIS configured essentially the same.

*************** *************** *************** *************** *************** *
**************
<%@LANGUAGE="VB SCRIPT" CODEPAGE="1252" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<title>Untitl ed Document</title>
</head>

<body>

<%
response.write( "Before Request.ServerV ariables variable = " &
Request.ServerV ariables("LOCAL _ADDR") & "<br>")

response.write( "after Request.ServerV ariables variable = " &
Request.ServerV ariables("LOCAL _ADDR") & "<br>")

Dim iMsg
Dim iConf
Dim Flds
Dim strHTML

Const cdoSendUsingPic kup = 1

set iMsg = CreateObject("C DO.Message")
set iConf = CreateObject("C DO.Configuratio n")

Set Flds = iConf.Fields
With Flds

.Item("http://schemas.microso ft.com/cdo/configuration/sendusing")
= cdoSendUsingPic kup
' TODO: Replace <PICKUP DIRECTORY> with path to your
pickup directory
' Typically, c:\Inetpub\mail root\pickup

.Item("http://schemas.microso ft.com/cdo/configuration/smtpserverpicku pdirect
ory")="C:\Inetp ub\mailroot\pic kup"

.Item("http://schemas.microso ft.com/cdo/configuration/smtpserver")="s mtp.int
erez.com"
.Update
End With

Dim iBP
With iMsg
Set .Configuration = iConf
.To = "tf*@ftsolution s.com"
.From = "tf*@ftsolution s.com"
.Subject = "A test page"
.HTMLBody = "This is a test page"
'TODO: if adding an attachment,
'uncomment the next line and alter file path as required
'Set iBP = iMsg.AddAttachm ent(App.Path & "\file1.txt ")
.Send
End With
' Clean up variables.
Set iBP = Nothing
Set iMsg = Nothing
Set iConf = Nothing
Set Flds = Nothing

%>
</body>
</html>

*************** *************** *************** *************** **************
Is there something in Exchange that might be giving me a problem.

Exchange is not running on either machine.

Thanks,

Tom.



Jul 22 '05 #8
"Jeff Cochran" <je*********@zi na.com> wrote in message
news:41******** *********@msnew s.microsoft.com ...
On Mon, 15 Nov 2004 13:01:36 -0800, "tshad"
<ts**********@f tsolutions.com> wrote:
"Aaron [SQL Server MVP]" <te*****@dnartr eb.noraa> wrote in message
news:%2****** **********@TK2M SFTNGP09.phx.gb l...
Have you tried different domains (e.g. change the from and to to a
hotmail
account)?
http://www.aspfaq.com/2511

Did you check in the badmail, queue, pickup folders, etc?
http://www.aspfaq.com/2254
http://www.aspfaq.com/2268

Since you have an SMTP server listed in the configuration properties,
did
you try using cdoSendUsingPor t instead cdoSendUsingPic kup?
Haven't tried these yet. Not sure what they do - will look at the faqs
you
quoted.

I assumed it was working correctly, since XP didn't have a problem.


Dumb question: Do you have the Server 2003 firewall on? Blocking
port 25? And you can test your 2003 SMTP server outside of this to
make sure it's working, see:


I don't know?

Where would I check this?

I also found that I can't get access to our Exchange server - we have it
behind a checkpoint firewall.

This machine is only running our Web Server (it is the Web Server Edition).

Do I need to use our Exchange server?

This machine does have SMTP on it and it is running automatically. We are
only going to send outgoing messages. Can we just use SMTP on this machine?
Do we have to configure it somewhere?

Thanks,

Tom.

HOW TO: Test SMTP Services Manually in Windows Server 2003
http://support.microsoft.com/default...b;en-us;323350

Jeff
--
http://www.aspfaq.com/
(Reverse address to reply.)


"tshad" <ts**********@f tsolutions.com> wrote in message
news:#v******** *****@TK2MSFTNG P11.phx.gbl...
I am trying to run a test sending mail using CDONTS on my W2K3
machine.

It works fine running from my WXP Pro, but I don't recieve the
mail
if
run the W2K3 machine.

Both machines have IIS configured essentially the same.

*************** *************** *************** *************** *************** *
**************
<%@LANGUAGE="VB SCRIPT" CODEPAGE="1252" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<title>Untitl ed Document</title>
</head>

<body>

<%
response.write( "Before Request.ServerV ariables variable = " &
Request.ServerV ariables("LOCAL _ADDR") & "<br>")

response.write( "after Request.ServerV ariables variable = " &
Request.ServerV ariables("LOCAL _ADDR") & "<br>")

Dim iMsg
Dim iConf
Dim Flds
Dim strHTML

Const cdoSendUsingPic kup = 1

set iMsg = CreateObject("C DO.Message")
set iConf = CreateObject("C DO.Configuratio n")

Set Flds = iConf.Fields
With Flds

.Item("http://schemas.microso ft.com/cdo/configuration/sendusing")
= cdoSendUsingPic kup
' TODO: Replace <PICKUP DIRECTORY> with path to your
pickup directory
' Typically, c:\Inetpub\mail root\pickup

.Item("http://schemas.microso ft.com/cdo/configuration/smtpserverpicku pdirect
ory")="C:\Inetp ub\mailroot\pic kup"

.Item("http://schemas.microso ft.com/cdo/configuration/smtpserver")="s mtp.int
erez.com"
.Update
End With

Dim iBP
With iMsg
Set .Configuration = iConf
.To = "tf*@ftsolution s.com"
.From = "tf*@ftsolution s.com"
.Subject = "A test page"
.HTMLBody = "This is a test page"
'TODO: if adding an attachment,
'uncomment the next line and alter file path as
required
'Set iBP = iMsg.AddAttachm ent(App.Path & "\file1.txt ")
.Send
End With
' Clean up variables.
Set iBP = Nothing
Set iMsg = Nothing
Set iConf = Nothing
Set Flds = Nothing

%>
</body>
</html>

*************** *************** *************** *************** **************
Is there something in Exchange that might be giving me a problem.

Exchange is not running on either machine.

Thanks,

Tom.

Jul 22 '05 #9
"Jeff Cochran" <je*********@zi na.com> wrote in message
news:41******** *********@msnew s.microsoft.com ...
On Mon, 15 Nov 2004 15:56:38 -0500, "Aaron [SQL Server MVP]"
<te*****@dnartr eb.noraa> wrote:
make sure that smtp.interez.co m is available to your system,
Since he specified cdoSendUsingPic kup, I don't think this setting even
comes
into play. An external SMTP server wouldn't be able to grab mail from his
local pickup folder anyway...


Missed that. Then he needs to have an SMTP server running, and he
said he didn't have Exchange on the systems.


I just replied to that questions (just found out that I can't access the
Exchange server here). We apparently do have SMTP running on the server,
but don't know if I need to configure it specifically.

Tom.
Perhaps the OP could test with a generic CDO script using a remote
server.

Jeff

Jul 22 '05 #10

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

Similar topics

1
5794
by: Romuald Favre | last post by:
Hi there, I just installed Perl (v. 5.6.1. built for MSWin32 from ActiveState) on a new server Windows 2000. Amazingly the passing of arguments doesn't work ! I saved the following code in a file saved in "test.pl" : #!/bin/perl -s
1
4700
by: | last post by:
Hi Guys CDONTS works with all sites hosted on my test server bar one (which surely rules out a miscomputation of the Default SMTP server in IIS). I have tried uploading the file with make up the site in which CDONTS to one of the IIS "sites" which is known to work with CDONTS, and still, no email received. The bad mail dir gets three files each time, the error is:
4
847
by: hugh Welford | last post by:
Hi...I am currently trying to have the CDONTS facility activated by my web-host (it has previously worked very well with another host, and is crucial to the site). I have received the following reason for it not working : " there is already an e-mail server running on the server and when I try to start the 'Virtual SMTP Server' under IIS it fails. The e-mails from the web site are being sent to a local directory on the server but appear...
29
3529
by: | last post by:
I did a working code with CDONTS on NT4 Now I am testing is on w2k and it looks like objCDONTS.Send is completely ignored. I think is it ignored because it throws no errors, neither does the rest of the code setting objCDONTS=Server.CreateObject("CDONTS.NewMail") and then manipulating its properties. Do I need to somehow set IIS5 to make objCDONTS.Send work?
4
4330
by: F | last post by:
Hi Some one has posted this question on 10th August, as CDONTS is not working on windows 2003 serever. I have the same problem and I copied CDONTS.DLL from Windows 2000 Server and registered on Win 2003 server but it giving the error on line when I calling method send of the object. Error is Microsoft VBScript runtime error '800a0046'
6
4406
by: kelsloris | last post by:
I have an asp app that uses CDONTS to send email notifications. On the .send method I get an error saying the specified path could not be found. Everything I find about this error refers to IMS and the IMC folder. They say to install IMS and set the pickup folder to the IMCDATA folder. The problem is that this was working just fine until yesterday. We reset the server yesterday and now all of a sudden the app cannot send email. Any idea...
6
11175
by: DigitalRick | last post by:
I have been running CDONTS in my ASPpages to send emails to me sent from my guestbook. It had been working fine untill I upgraded to Server 2003 (I am also running Exchange 2003) all locally. I will include the code I originally used. I understand I should switch from CDONTS to CDO mail but after several sttempts I am finding a very hard time getting the new CDO mail to work properly. Any assistance with this would be greatly...
5
27692
by: MichaelK | last post by:
What do I need to do to enable CDONTS om my macine to make it working I'm testing the code: Dim objCDO Set objCDO = Server.CreateObject("CDONTS.NewMail") objCDO.To = "xyz@xxxxx.com" objCDO.From = "zyx@zzzzz.com" objCDO.Subject = "TESST CDONTS MAIL" objCDO.Body = "SOME TEXT TO SEND OVER"
3
3296
by: tamaker | last post by:
I have Road Runner cable internet access and Im working in a local development environment (writing .ASP) and have a site running on my network on a windows xp pro machine via IIS with CDONTS installed. When I try to send a confirmation email (simple text) via CDONTS the message is built but remains on the server in the QUEUE folder ... how can I tweak the SMTP settings on the server to allow me to send email out from the server... ...
0
8199
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8705
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8365
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8505
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6125
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4092
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4198
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1811
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1511
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.