[thelist] GoDaddy's CDONTS

Brian Cummiskey Brian at hondaswap.com
Tue Mar 14 14:21:21 CST 2006


Rob Smith wrote:
>  CDONTS? 

CDONTS is depreciated.


try this instead:




<!-- METADATA TYPE="typelib" UUID="CD000000-8B95-11D1-82DB-00C04FB1625D" 
NAME="CDO for Windows 2000 Library" -->
<%

'+-----------------------------------------------------------+
'	Initialize mailing class
'+-----------------------------------------------------------+

Set cdoConfig = CreateObject("CDO.Configuration")

With cdoConfig.Fields
	.Item(cdoSendUsingMethod) = cdoSendUsingPort
	.Item(cdoSMTPServer) = "mailservername"
	.Item(cdoSMTPAuthenticate) = 1
	.Item(cdoSendUsername) = "user"
	.Item(cdoSendPassword) = "pass"
	.Update
End With


Set cdoMessage = CreateObject("CDO.Message")	

With cdoMessage
	Set .Configuration = cdoConfig
End With


cdoMessage.From = "you at server.com"
cdoMessage.To = "me at server.com"
cdoMessage.Subject = "subject"
cdoMessage.TextBody = "text"

cdoMessage.Send
Set cdoMessage = Nothing



%>




More information about the thelist mailing list