Re: Confirmation e-mail

From: Date: Sun, 09 Feb 2003 19:23:59 +0000
Subject: Re: Confirmation e-mail
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-25532@lists.php.net to get a copy of this message
this is what i use. hope it helps, addison /* send email to new member */
        $emess1="Thank you...\n";
        $emess2="Your Member ID and password are:\n";            $emess3="\n\n\tID:$email\n\tPassword:$password\n\n";
        $emess4="Each time you submit an ad, please use your existing ID and password.\n\n";
        $emess5="Please e-mail ?@?.com with questions or comments.";
        $emess =
           $emess1.$emess2.$emess3.$emess4.$emess5;
        $ehead="From: ?@?.com\r\n";
        $subject = "this appears in the subject of the email to the new member";
        $mailsend=mail("$email","$subject","$emess","$ehead");
        header("Location: index.php (where you want them directed after they sign in. it could be a welcome page.");
Hello people., I am developing a website with a user login system, i would like to send an confirmation e-mail to the user when he/she registers for the site, asking for confirmation...for instance click on a link to activate thier account. My question is what would be the best approach to achieve this? How is this usualy done? Any thoughts and help is appreciated. Best regards, Davy Obdam -- -------------------------------------------------------------------- Davy Obdam - Obdam webdesign© mailto:info@davyobdam.com web: www.davyobdam.com -------------------------------------------------------------------- -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- Addison Ellis small independent publishing co. 114 B 29th Avenue North Nashville, TN 37203 (615) 321-1791 addison@bellsouth.net info@smipco.com subsidiaries of small independent publishing co. info@gloabaldog.com info@momandpocentral.com

« previous php.db (#25532) next »