Hi
I got WinXP, with IIS6, and the SMTP service installed. I tried to send an email with the following, code, but it didn't work. Yet, when I telnetted into the machine, c:\> telnet localhost 25, I could send an email. Please help, as I'm new to this
Quote:
<%
Dim objCdonts
Set objCdonts = Server.CreateObject("CDONTS.NewMail")
objCdonts.To = lordmerlin@home
objCdonts.From = root@localhost
objCdonts.Subject = "Test email"
objCdonts.Body = "Testing email script"
objCdonts.Send
Set objCdonts = Nothing
%>
|