Re: Re: [PHP3] automatic password respond !!

From: Date: Mon, 19 Jun 2000 18:01:09 +0000
Subject: Re: Re: [PHP3] automatic password respond !!
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-2223@lists.php.net to get a copy of this message
Hi, I don't know how to make the mail() function works. Can I use qmail when using the mail funtion. thank you.. Mark Miguel Cruz wrote: > Mark Lo wrote in message <394E57EF.FD3A23C2@netvigator.com>... > > Please give me some idea of how to write a e-mail password > >respond when my user lost there password. What I mean is that ..if my > >client lost their password, they only have to submit their username > >(prefer using e-mail address as user name), then my server will send > >(e-mail) the password to them automatically. > > This is very straightforward. When they enter their email address, look it > up in the database, generate a new password (it's a bad idea to mail out > passwords that people have chosen because they might use the same password > for other things and you never know if someone else has gotten into their > mailbox), and send it to them with the mail() function. > > Which part are you having problems with? > > miguel > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#2223) next »