Holas tengo mi pagina con CDO pero me muestra este error, como lo puedo solucionar:
error '8004020f'
/send.asp, line 82
Este es el codigo que estoy usando:
<%
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 ObjMensaje = Server.CreateObject("CDO.Message")
With ObjMensaje
Set .Configuration = cdoConfig
.from = "
[email protected]" 'correo que envia
.To ="
[email protected]" ' a donde debe llegar el correo
.Subject = "Inscripcion Rh" ' titulo
'******************
cad1="Nombres : " & nom
.TextBody = cad1
.Send
end with
Set cdoConfig = Nothing
Set ObjMensaje = Nothing
%>