Having read thru several of the postings on this topic, I'm still not able to resolve my issue.
I'm having the typical problem that the CDONTS code does execute properly, but no mail ever gets received. Having checked around a little, i think the issue is that it never gets sent in the first place.
I'm testing my pages against IIS 5 on a w2k professional box. CDONTS.dll is installed and the SMTP service is indeed started on my IIS. I've noticed that all the SMTP mail that the code generates is getting stuck in the mailroot/Queue - I'm not sure why... BECAUSE....
The odd thing is that several weeks ago when I was testing my CDONTS code just to see if it executed, it WAS IN FACT
successfully sending out the mails. Then for some reaason it stopped working. I never changed any of the settings. Why would it just stop working?
Here is the code - it just sends a test message to myself - nothing special going on here:
can anyone offer anything else i might try?
thanks.
Q: Why is my computer doing that?
A: Random Perversity of Inanimate
Objects
I'm having the typical problem that the CDONTS code does execute properly, but no mail ever gets received. Having checked around a little, i think the issue is that it never gets sent in the first place.
I'm testing my pages against IIS 5 on a w2k professional box. CDONTS.dll is installed and the SMTP service is indeed started on my IIS. I've noticed that all the SMTP mail that the code generates is getting stuck in the mailroot/Queue - I'm not sure why... BECAUSE....
The odd thing is that several weeks ago when I was testing my CDONTS code just to see if it executed, it WAS IN FACT
successfully sending out the mails. Then for some reaason it stopped working. I never changed any of the settings. Why would it just stop working?
Here is the code - it just sends a test message to myself - nothing special going on here:
Code:
dim objNewMail
dim msgFrom, msgTo, msgSubject, msgMessage, msgImportance
Set objNewMail = Server.CreateObject ("CDONTS.NewMail")
msgFrom = "me@myaddress.com"
msgTo = "me@myaddress.com"
msgSubject = "TEST123"
msgMessage = "this is a test"
msgImportance = 0
objNewMail.Send msgFrom, msgTo, msgSubject, msgMessage, msgImportance
set objNewMail = nothing
can anyone offer anything else i might try?
thanks.
Q: Why is my computer doing that?
A: Random Perversity of Inanimate
Objects