i am developing an application in which an automated email has to be sent. the application is being developed on localhost. This is the sample code am using , i have configured my outlook express in which POP and SMTP servers are localhost and email i gave was vgarg@localhost
my PC name is varun2000 and i have mentioned the same in IIS . but when i run ASP script the mails is being sent to "queue" folder can some one tell me how to test on localhost
Dim strTo, strSubject, strBody
strBody = "This message was sent"
Set objCDOMail = Server.CreateObject("CDONTS.NewMail")
objCDOMail.From = "vgarg@localhost"
objCDOMail.To = "vgarg@localhost"
objCDOMail.Body = strBody
Set objCDOMail = Nothing