• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 308
  • Last Modified:

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
0
hayward03
Asked:
hayward03
1 Solution
 
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.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now