I am trying to use CDONTS as follows:
set objCDOMail = Server.CreateObject("CDONTS.NewMail"
with objCDOMail
.From = strFrom
.To = strTo
.Subject = strSubject
.Body = strBody
.Send
end with
set objCDOMail = Nothing
There are no error messages but no email is sent. Is there anything wrong with the code above or anything I need to check regarding CDONTS configuration on the server?
Thanks.
set objCDOMail = Server.CreateObject("CDONTS.NewMail"
with objCDOMail
.From = strFrom
.To = strTo
.Subject = strSubject
.Body = strBody
.Send
end with
set objCDOMail = Nothing
There are no error messages but no email is sent. Is there anything wrong with the code above or anything I need to check regarding CDONTS configuration on the server?
Thanks.