Forums

This topic is locked

Auto Email with generated password

Posted 01 Apr 2004 15:49:34
1
has voted
01 Apr 2004 15:49:34 Kesmond Chia posted:
Hi all, how do i auto generate a password and with that password i send it over to the user email address automatically? Just like normal registration, where the user get their password in their email upon registering.

I am using dreamweaver. Thanks

Replies

Replied 02 Apr 2004 02:14:58
02 Apr 2004 02:14:58 Phil Shevlin replied:
What scripting lang do you use? asp, php, cgi, etc? Also what database?

You need to:
generate a random password
insert it and the username/email into a database
email the password to the user

Its all done with scripting. Or are you looking for an extansion(s) to handle this?
Replied 02 Apr 2004 11:08:18
02 Apr 2004 11:08:18 Kesmond Chia replied:
I am using asp. and my database is mysql. Any examples to show me? cos i really new to this. Thanks a lot. Or is there any extension that can do these?
Replied 02 Apr 2004 13:34:19
02 Apr 2004 13:34:19 Phil Shevlin replied:
do you have a user authentication system set up yet? There is one built in to DMX.

I'd say do that first. The random pass and email pieces are "extras" added to an authentication system -- not the basis of one.
Replied 02 Apr 2004 18:39:01
02 Apr 2004 18:39:01 Kesmond Chia replied:
yah. i had already done the user authentication part using one of the extension of Dreamweaver called Check Form.

But now is to do a auto generate password and send the password to the user email address automatically. These parts i am not sure. PLease help. thanks
Replied 03 Apr 2004 02:48:06
03 Apr 2004 02:48:06 Phil Shevlin replied:
Check Form is not a user auth system. It merely validates form input.

The only reason I point this out is because I need to know what your current setup is.
Replied 03 Apr 2004 18:20:27
03 Apr 2004 18:20:27 Kesmond Chia replied:
So how do i check?

Btw is there any asp scripts that can do this? thanks
Replied 04 Apr 2004 10:33:52
04 Apr 2004 10:33:52 Kesmond Chia replied:
I am using asp.

But how abt the auto sending of the email and the auto generate password?

Reply to this topic