Solved

ASP.NET Contact Form

Posted on 2011-09-27
2
261 Views
Last Modified: 2012-05-12
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
Comment
Question by:hayward03
2 Comments
 
LVL 10

Accepted Solution

by:
hosneylk earned 500 total points
ID: 36709560
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
 

Author Closing Comment

by:hayward03
ID: 36709856
It didnt solvethe issue, but helped me fix it.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now