I am using CDONTS and for some reason no one internally is getting emails, where I am still getting the same emails to my hotmail account when I send them there. We have the incoming email disabled on the network. It seems like CDONTS sends out through the SMTP and when it trys to come back in, it gets blocked. Let me know if anyone has any suggestions.
<%
Function SendEmail()
Set Email = Server.CreateObject("CDONTS.NewMail"
Email.Send MessageFrom, MessageTo, MessageSubject, MessageText, 1
Set Email = Nothing
End Function
MessageFrom = "from@email.com"
MessageTo = "to@email.com"
MessageSubject = "Out of Warranty Request"
MessageText = "Test"
SendEmail()
%>
<%
Function SendEmail()
Set Email = Server.CreateObject("CDONTS.NewMail"
Email.Send MessageFrom, MessageTo, MessageSubject, MessageText, 1
Set Email = Nothing
End Function
MessageFrom = "from@email.com"
MessageTo = "to@email.com"
MessageSubject = "Out of Warranty Request"
MessageText = "Test"
SendEmail()
%>