how we send mail from classic asp.
i used this code but it was not working.
Set ObjMail = Server.CreateObject("CDONTS.NewMail")
objMail.From = varName & " <" & varEmail & ">"
objMail.To = "email@example.com"
objMail.Subject = "Contact from Your Website"
objMail.Body = varName & ""_
& VBCrLf & varCompany & ""_
& VBCrLf & varTelephone & ""_
& VBCrLf & VBCrLf & varComments & VBCrLf
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 ProfessionalJameschowdare, if this helps please login to Mark As Answer. | Alert Moderator