Can someone please tell me what I'm doing wrong? A bit of warning: I'm a bit of a newb. I have IIS 5.0 running on my Win2K Professional PC. I have the "Default SMTP Virtual Server" running. I am trying to run the following code:
<%
Set NewMailObj = CreateObject("CDONTS.NewMail"
recipStr = "your@email.com"
NewMailObj.Send "my@email.com", recipStr, "Check it out!", "Here's some email for you"
Set NewMailObj = Nothing
%>
When I put this on my web server, it runs great and I get my email. Is it because they have Exchange on that server? When I try to run it from my own workstation: the email message just sits in the "Queue" directory. Is there something I'm missing? I've left the properties in the SMTP Virtual Server all default. I'm a bit confused... By the way, I get no error messages or anything. My email just sits.
Thanks for any help.
Steve
<%
Set NewMailObj = CreateObject("CDONTS.NewMail"
recipStr = "your@email.com"
NewMailObj.Send "my@email.com", recipStr, "Check it out!", "Here's some email for you"
Set NewMailObj = Nothing
%>
When I put this on my web server, it runs great and I get my email. Is it because they have Exchange on that server? When I try to run it from my own workstation: the email message just sits in the "Queue" directory. Is there something I'm missing? I've left the properties in the SMTP Virtual Server all default. I'm a bit confused... By the way, I get no error messages or anything. My email just sits.
Thanks for any help.
Steve