Click here to Skip to main content
15,867,308 members
Articles / Web Development / ASP.NET
Article

forms to email with visual web develpoer 2005, asp.net 2.0, and SMTP

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
21 Dec 2006 12.6K   86   5  
a solution for sending forms to email with visual web develpoer 2005 and asp.net 2.0

Introduction

I would like share my code for sending forms to email with visual web developer 2005 and asp.net 2.0

I tried for ages to make a form that’s sends the information to my email address, and had heaps of problems, and heard it was easy, and I felt stupid
 
I did 
this google search and checked out heaps of walkthroughs on the matter, and slowly gained an understanding of how to put together some  asp.net 2.0 code that will send mail

Eventually I read this article for the second time and put ever thing together right:
http://aspnet.4guysfromrolla.com/articles/072606-1.aspx<o:p>


The following code I believe is universal and should work for other people using asp.net 2.0 as long as they also "Configure SMTP e-mail settings" in their "ASP.Net Web Application Administration Tool" with "visual web developer 2005" -with their correct SMTP details. Note that you can make sure your SMTP server is accessible by setting it up in outlook express.<o:p>

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Software Developer CodeProject Solutions
Canada Canada
The CodeProject team have been writing software, building communities, and hosting CodeProject.com for over 20 years. We are passionate about helping developers share knowledge, learn new skills, and connect. We believe everyone can code, and every contribution, no matter how small, helps.

The CodeProject team is currently focussing on CodeProject.AI Server, a stand-alone, self-hosted server that provides AI inferencing services on any platform for any language. Learn AI by jumping in the deep end with us: codeproject.com/AI.
This is a Organisation

4 members

Comments and Discussions

 
-- There are no messages in this forum --