asp send mail cdo error
am 17.05.2007 16:55:18 von mike.dreweryI patched lastnight. My cdo send email code worked until this AM.
The code has been working for months on my 2003 web server relaying to
my exchange 2003 server. I now get
error '80040211'
/Ricweb/standards/testemail.asp, line 35
Anyone have any information?
My code
<%
sch = "http://schemas.microsoft.com/cdo/configuration/"
Set cdoConfig = CreateObject("CDO.Configuration")
With cdoConfig.Fields
.Item(sch & "sendusing") = 2 ' cdoSendUsingPort
.Item(sch & "smtpserver") = "my mail server"
.update
End With
Set cdoMessage = CreateObject("CDO.Message")
With cdoMessage
Set .Configuration = cdoConfig
.From = "from@me.com"
.To = "my correct email address"
.Subject = "Sample CDO Message"
.TextBody = "This is a test for CDO.message"
.Send
End With
Set cdoMessage = Nothing
Set cdoConfig = Nothing
%>