Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

C-DONT-cha wanna just kick it in the arse?

Posted 12 Jul 2002 21:38:08
1
has voted
12 Jul 2002 21:38:08 aegis kleais posted:
CDONTS is not working to me.

I believe it's installed (web article say "as long as you have all the SMTP components installed, it should be there" but I"m getting the "invalid class string" which articles say "you don't have CDONTS in stalled) I'm running WinXP, and I used a basic test of

<%
Option Explicit
Dim myMail
Set myMail = Server.CreateObject("CDONTS.NewMail"
myMail.Send " ", " ", "My first email", "This message is sent to you Aaron.", 0
Set myMail = Nothing
%>

And it was a no go. I went through articles where you change your default ports, and you rename your server and this and that, but still nothing. Win XP, IIS 5.1, ASP-VB. ANy help?

Aegis Kleais
New Media Web Developer
(DWMX : IIS5.1 : SQL2K : WXP : ASP[VB/JS])

Replies

Replied 12 Jul 2002 22:37:02
12 Jul 2002 22:37:02 Mitchel Tendler replied:
Go here and copy the code to see if it is installed.

www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=4&txtCodeId=7233

When in doubt...reboot!
Replied 13 Jul 2002 05:40:38
13 Jul 2002 05:40:38 aegis kleais replied:
Excellent little code. Well it would seem that it is NOT INSTALLED at all. This is bad news, as that articles told me that if you install the SMTP component under IIS, the CDONTS comes with it. I double clicked on SMTP and there are no sub components (it was a clear white checked box, indicating all components are selected, unlike the gray checked boxes)

So can anyone recommend an article on setting up CDONTS on a WinXP Pro / IIS5.1 system?

Aegis Kleais
New Media Web Developer
(DWMX : IIS5.1 : SQL2K : WXP : ASP[VB/JS])
Replied 13 Jul 2002 17:03:15
13 Jul 2002 17:03:15 aegis kleais replied:
Ok, if you take cdonts.dll from a win2000 machine and place it in <SYSTEM ROOT>\Windows\System32

Then goto START > RUN and type in:

regsvr32 cdonts.dll

I now run the page and it says CDONTS 1.2 INSTALLED

So lets see if that code'll work now.



Aegis Kleais
New Media Web Developer
(DWMX : IIS5.1 : SQL2K : WXP : ASP[VB/JS])
Replied 13 Jul 2002 17:10:13
13 Jul 2002 17:10:13 aegis kleais replied:
It works! Thx! The message came to me. Now I just gotta learn how to create emails that can send to multiple people. It says that once you send an email, that it is desctroyed and then you should set it (ie, myMail = Nothing) to explicitly remove it.

I'm sure I can set things like myMail.Send " ", " ", "title", "content", [priority] by setting variables and appending them to that line. But would it be as simple as " , , , etc...." in order to send to multiple people?

Aegis Kleais
New Media Web Developer
(DWMX : IIS5.1 : SQL2K : WXP : ASP[VB/JS])

Reply to this topic