Microsoft
Software
Hardware
Network
Question : mail sent using asp and iis5.1 goes directly to badmail folder
Hello!
I cant send mail using iis 5.1 using win xp pro
I am sure the problems is in iis somewhere because i get no error using my asp code, and the mail im trying to send is ending up in my badmail folder.
The aps code i use looks like this:
<%
Set Mail=Server.CreateObject("
CDONTS.New
Mail")
Mail.To="cmaster86@hotmail
.com"
Mail.From=""
Mail.Subject="testing my script"
Mail.Body="Sending email from asp, but having no luck"
if Mail.Send()=0 then
response.Write("'#00FF00'>
OK!
")
else
response.Write("'#FF0000'>
Something'
s wrong!