Print Page | Close Window

Email user information to registered user

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=23363
Printed Date: 29 March 2026 at 10:25am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Email user information to registered user
Posted By: sccs
Subject: Email user information to registered user
Date Posted: 18 May 2007 at 11:46am
I have got most of this done. If the registered user forgetts his or her password I want them to fill in their username and then have there password emailed to them. The problem I have is getting the information e-mailed to the registered user. Are there any tutorials out there that shows how to set this up.



Replies:
Posted By: padoxky
Date Posted: 18 July 2008 at 10:40am
try this and just giving u a tips not going into details.

username = request.form("txtusername")
Set rs = Server.CreateObject("ADODB.RECORDSET")
select table.email, table.password, table.username from table where table.username = username

use rs("email") at To field
and use rs("password") at Body field

hope that will work and you understand.


-------------
NgWebDesigns


Posted By: Dan H
Date Posted: 18 July 2008 at 6:21pm

The mechanics of getting the email to contain the variables, and then to actually get delivered is what I've been struggling with for several days - and, with help from this forum and others, found the answer.

See if this helps: http://forums.webwiz.net/forum_posts.asp?TID=25969 - http://forums.webwiz.net/forum_posts.asp?TID=25969

Dan H



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net