Look at the lines
objMail.From = "OnLineWebExamination.Com";
objMail.To = "Localhost";
As I said in my comment
Quote:
"OnLineWebExamination.Com" is not a valid email address. That field should be in the format "someone@somesite.com"
The same is true of the recipient - it should be a valid email address. "Localhost" is not a valid email address