Solved

ASP.NET Contact Form

Posted on 2011-09-27
2
275 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

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 …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

838 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