A
AbraAbraCadabra
Here is the code I have been using to send mail...
Set objCDO = Server.CreateObject("CDO.Message")
With objCDO
.To = strTo
.From = "(e-mail address removed)"
.Subject = "This is the subject"
.HtmlBody = "This is the Body"
.Send
End With
Set objCDO = Nothing
It used to work fine, but recently our mail server changed and now it
requires that AUTHENTICATION be present. How can I adjust the above code so
that I can authenticate using a username and password?
Much thanks!!
Set objCDO = Server.CreateObject("CDO.Message")
With objCDO
.To = strTo
.From = "(e-mail address removed)"
.Subject = "This is the subject"
.HtmlBody = "This is the Body"
.Send
End With
Set objCDO = Nothing
It used to work fine, but recently our mail server changed and now it
requires that AUTHENTICATION be present. How can I adjust the above code so
that I can authenticate using a username and password?
Much thanks!!