i have a problem:
this script seems to work fine but when I try to send email to someone outside the server accounts it stops at the .send command
If I use an account that exist on the email server then it works fine.
How can I get it to work for any receiving party like
yahoo, hotmail, gmail
<%
Set cdoConfig = CreateObject("CDO.Configuration")
With cdoConfig.Fields
.Item(cdoSendUsingMethod) = cdoSendUsingPort
.Item(cdoSMTPServer) = "someserver"
.Update
End With
Set cdoMessage = CreateObject("CDO.Message")
With cdoMessage
Set .Configuration = cdoConfig
.From = "admin@exchange.bo.com"
.To = "slin@gmail.com
.Subject = "ECA Access Request Form"
.TextBody = sMessage
.HTMLBody = "hello"
.Send
End With
Set cdoMessage = Nothing
Set cdoConfig = Nothing
%>