Solved

ASP.NET Contact Form

Posted on 2011-09-27
2
250 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
Comment Utility
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
Comment Utility
It didnt solvethe issue, but helped me fix it.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Javascript in a user control not working 17 52
Duplicate a row 2 29
c# code 19 56
Why, and when, to use Windows Workflow 1 16
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This video discusses moving either the default database or any database to a new volume.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

771 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

14 Experts available now in Live!

Get 1:1 Help Now