Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 19th, 2007, 02:27 AM
Registered User
 
Join Date: Nov 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default auto generated mail id

hi

can anybody send me the Asp.net(c#)coding for autogenerated email id when all the information is provided in the registration form.

 
Old January 19th, 2007, 11:03 AM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post
Default

Well

You can use the MailMessage class to send an email after successful registration. For the body of mail, create an HTML format using StringBuilder, and send it. Try googling on "How to send email using MailMessage", you will find a lot of results.

Regards
Mike

Fortune favours the brave, so don't regret on missed oppurtunities.
 
Old January 20th, 2007, 05:50 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

In so far as generating an auto ID, what do you mean? You want a random username and password generated based upon what the user places into the form?

================================================== =========
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========





Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto generated Details View nutrino ASP.NET 2.0 Basics 2 June 18th, 2006 06:15 AM
Get ID from Labels that are dynamically generated bekim Javascript How-To 6 February 20th, 2006 04:52 AM
Get the ID generated from the previous INSERT oper nappiness Classic ASP Basics 3 January 11th, 2006 07:13 PM
Chapt. 13 "Try It Out" - Auto-Generated Commands tullyf BOOK: Beginning ASP.NET 1.0 0 January 20th, 2004 02:30 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.