473,326 Members | 2,090 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,326 software developers and data experts.

not CDO neither CDONTS

Hi,
I'm working on this web space: NT4/Windows 98, Microsoft-IIS/4.0,
66.71.142.204
I can't send mail with CDO cause i get an error
http://66.71.142.204/ASWebNews/newsletters/mail.asp
<%
Set myMail = CreateObject("CDO.Message")
myMail.Subject = "eeeSending email with CDO"
myMail.From = "my****@mydomain.myext"
myMail.To = "my****@mydomain.myext"
myMail.TextBody = "eeeeThis is a message."
myMail.Send
Set myMail = Nothing
%>

And with CDONTS, mails don't come
http://66.71.142.204/ASWebNews/newsletters/mail2.asp
<%
Set myMail = Server.CreateObject("CDONTS.NewMail")
myMail.Subject = "eeeSending email with CDONTS"
myMail.From = "my****@mydomain.myext"
myMail.To = "my****@mydomain.myext"
myMail.Body = "eeeeThis is a message."
myMail.Send
Set myMail = Nothing
%>

How can i solve?

Thanks
Jan 10 '07 #1
4 1625
Giorgio wrote on Wed, 10 Jan 2007 09:12:52 +0100:
Hi,
I'm working on this web space: NT4/Windows 98, Microsoft-IIS/4.0,
66.71.142.204
I can't send mail with CDO cause i get an error
CDO was first introduced in Windows 2000, and is not available in IIS on
Windows NT 4.
And with CDONTS, mails don't come
http://66.71.142.204/ASWebNews/newsletters/mail2.asp
<%
Set myMail = Server.CreateObject("CDONTS.NewMail")
myMail.Subject = "eeeSending email with CDONTS"
myMail.From = "my****@mydomain.myext"
myMail.To = "my****@mydomain.myext"
myMail.Body = "eeeeThis is a message."
myMail.Send
Set myMail = Nothing
%>

How can i solve?
Check with the admin that the NT 4 Option Pack is installed - CDONTS is not
installed as part of IIS, it's an optional add-on.

As you get no error, I'm assuming it's installed. It's possible that it's
misconfigured, or the SMTP server it's passing the messages to is queueing
them or dumping them - maybe they haven't added the from and/or to domain to
their relay settings, or maybe they've just disabled CDONTS in favour of
another more reliable object.

Also ask if there is any alternative email object, such as ASPEmail,
ASPMail, or similar objects.

Dan
Jan 10 '07 #2
Daniel Crichton wrote:
Check with the admin that the NT 4 Option Pack is installed -
CDONTS is not installed as part of IIS, it's an optional add-on.
IIRC, it is also necessary to ensure that SMTP services are running on the
web server and configured to relay from the host machine. I don't recall
seeing a way to point CDONTS messages to an external SMTP server.

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.
Jan 10 '07 #3

Thanks to you 2.
It was a provider problem.
Jan 11 '07 #4
Dave wrote on Wed, 10 Jan 2007 14:39:53 -0600:
Daniel Crichton wrote:
>Check with the admin that the NT 4 Option Pack is installed -
CDONTS is not installed as part of IIS, it's an optional add-on.

IIRC, it is also necessary to ensure that SMTP services are running on the
web server and configured to relay from the host machine. I don't recall
seeing a way to point CDONTS messages to an external SMTP server.
Yeah, my mistake, I'd read how the notes on how to get CDONTS to send via a
non-local SMTP server and missed the details - apparently it still requires
a local SMTP server and that has to have it's "Smart Host" setting pointing
to the non-local server. Yet another good reason not to use CDONTS ...

Dan
Jan 11 '07 #5

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

Similar topics

1
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...
7
by: Mario Leduc | last post by:
Hi, I have a page that sends user comments with CDONTS, works fine. Until I put a URL (http://192.168.0.1). If I use http://domain.com it works fine. Why with the numeric URL, CDONTS does not...
8
by: Boris | last post by:
Could someone please tell me if I can use CDONTS in W 2003 Server environment to send emails the same way it is used in W2K Server. I have heard that CDONTS is no longer available in W 2003 Server...
4
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...
16
by: tshad | last post by:
I have both cdosys.dll and cdonts.dll on my W2K3 server. We have been told by our web authors that their asp code won't work on our machine and that we don't have CDONTS installed on our machine....
9
by: scott | last post by:
I have my win 2003 server setup correct with SMTP. I know because I've tested it ok. However, when I issue CODE 1 below, I get ERROR 1 below. I thought having SMTP installed correctly allowed...
2
by: microsoft.public.dotnet.languages.csharp | last post by:
ASP.Net, C#, Email message, CDonts not CDO I am writing an ASP.Net application where I cannot use CDO. I must use CDonts. I cannot find an example of this on the Internet. I only see examples...
5
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"...
7
by: Paul | last post by:
I have just started work on a system using CDONTS to mail out. Whilst this is fine on the server, my local development machine is using XP Pro with IIS5.1 installed. Is there a way I can get the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.