
December 21st, 2005, 02:41 AM
|
|
Contributing User
|
|
Join Date: Jan 2004
Location: Budapest
Posts: 1,421

Time spent in forums: 4 Days 15 h 36 m 55 sec
Reputation Power: 6
|
|
|
IIS CDO EMAIL Not Working
I just bought a shared dedicated server from Godaddy.com. I have a bunch of sites that were developed for IIS 5 and used CDONTs for email. Appparently IIS 6 does not support CDONTS (do they?) and the script I have for CDO is not working. When I contact customer support, they essentially tell me "Sorry, you're on your own". Can someone help, here is my code that really should work -
Code:
<%
sch = "http://schemas.microsoft.com/cdo/configuration/"
Set cdoConfig = CreateObject("CDO.Configuration")
With cdoConfig.Fields
.Item(sch & "sendusing") = 2 ' cdoSendUsingPort
.Item(sch & "smtpserver") = "localhost"
.update
End With
Set cdoMessage = CreateObject("CDO.Message")
With cdoMessage
Set .Configuration = cdoConfig
.From = "thall893@yahoo.com"
.To = "tmh@tmhdesign.com"
.Bcc = "tmh@tmhdesign.com"
.Subject = "Szidonia Link Exchange Submission"
.TextBody = "hello world"
.Send
End With
%>
__________________
Today the world, tomorrow the universe...
|