Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 3.5 and Visual Studio. 2008 > Visual Studio 2008
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Visual Studio 2008 For discussing Visual Studio 2008. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Studio 2008 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 11th, 2008, 09:16 PM
Registered User
 
Join Date: Aug 2008
Location: pasig, , Philippines.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default how can i mail the password to the user?

well here is the case if the user forgets his/her password admin can reset it then send it back to the user's email...
i already reset the password but how can i send it to their mail?

:-)
Reply With Quote
  #2 (permalink)  
Old August 12th, 2008, 04:25 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Use the MailMessage class in the System.Net.Mail. This web site should answer most of your questions:

http://www.systemnetmail.com/

-Peter
compiledthoughts.com
Reply With Quote
  #3 (permalink)  
Old August 12th, 2008, 09:00 PM
Registered User
 
Join Date: Aug 2008
Location: pasig, , Philippines.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

re: server error..

what can i do with this error:
The specified string is not in the form required for an e-mail address.
thanks...



:-)
Reply With Quote
  #4 (permalink)  
Old August 13th, 2008, 06:52 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Doesn't the error message say it all? You need to provide a email address that meets the basic criteria of an email address. Note, .NET is not testing the validity of the address, just the structure of it.

-Peter
compiledthoughts.com
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WebShop: problem of retriewing password via e-mail JoinTTT BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 1 April 7th, 2007 03:28 AM
password/user functions sola Access 3 January 13th, 2006 08:49 AM
what is the password and user id for ........! Random Servlets 1 November 8th, 2005 02:59 AM
user password validating cooky4 VB How-To 15 May 4th, 2005 08:45 AM
I can verify user name and password hdoldur Classic ASP Databases 2 April 3rd, 2004 07:51 PM



All times are GMT -4. The time now is 03:48 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.