how we send mail from classic asp.
i used this code but it was not working.
Dim ObjMail
Set ObjMail = Server.CreateObject("CDONTS.NewMail")
objMail.From = varName & " <" & varEmail & ">"
objMail.To = "upen.rao@target.com"
objMail.Subject = "Contact from Your Website"
objMail.Body = varName & ""_
& VBCrLf & varCompany & ""_
& VBCrLf & varTelephone & ""_
& VBCrLf & VBCrLf & varComments & VBCrLf
objMail.Send
Set objMail = Nothing
i was used that it is not working, is there need to configure fo Email appplication,
and im using the windows XP Professional
Jameschowdare, if this helps please login to Mark As Answer. | Alert Moderator