Re: How to implement e-mail facility?

From: Date: Thu, 06 Sep 2001 13:13:25 +0000
Subject: Re: How to implement e-mail facility?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-66209@lists.php.net to get a copy of this message
<?php $user_name="Balaji Ankem"; $user_mail="balaji.ankem@wipro.com"; $result = mysql_query("SELECT password FROM users WHERE name='$user_name' "); $r= mysql_fetch_row($result); $user_password = $r[0]; mail($user_mail,"Thanks for visiting","Dear $user_name,\n We appreciate your visit.\nYour password is: $user_password"); ?> "Balaji Ankem" <balaji.ankem@wipro.com> wrote in message news:019e01c13716$ee4e4680$1702910a@wipro.com... > > Hi friend, > I want to mail a user if he forget password . > How to implement that. > What are all the requirements. > > please see the following code. > > > > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > <?php > > $user_name="Balaji Ankem"; > $user_mail="balaji.ankem@wipro.com"; > > mail($user_mail,"Thanks for visiting","Dear $user_name,\n We appreciate > your visit."); > > ?> > > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > > Thanks and regards > -Balaji Ankem > >

« previous php.general (#66209) next »