470,594 Members | 1,472 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,594 developers. It's quick & easy.

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 1528
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Mario Leduc | last post: by
9 posts views Thread by scott | last post: by
2 posts views Thread by microsoft.public.dotnet.languages.csharp | last post: by
7 posts views Thread by Paul | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.