Solved

ASP.NET Contact Form

Posted on 2011-09-27
2
288 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

Question has a verified solution.

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

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

635 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