472,952 Members | 2,244 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,952 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 1610
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: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.