ASP.NET Contact Form

Hi,

I have a contact form that I have created and error time I try and send a email using the form it gives me an error "The error is teh custom error message created in the code"

Any help would be greatly apprecitated

Regards

Michael

Attached is my web.config file and and my contact form ContactUs.aspx.cs ContactUs.aspx.cs Web.config
ContactUs.aspx
hayward03Asked:
Who is Participating?
 
hosneylkCommented:
it might be because the smtp server requires authentication. why don't you comment out the try catch block and see what the error is?
0
 
hayward03Author Commented:
It didnt solvethe issue, but helped me fix it.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.