I m New To php , and gernate a signup form, that send an E-Mail at success of signup to the user, .

But the problem is that in inbox it shows " ANONyomous" the link work fine, but th only problem is the above i mentioned.
Here is my code...

    // send e-mail to ...

// Your subject
                $subject="Confirmation Link";

// From        

                $header="from: [email]dummy@myweb.com[/email]";

// Your message
                $message=" This is the confirmation code \r\n";
                $message.="Click on this link to activate your account \r\n";

// send email
                $sentmail = mail($to,$subject,$message,$header);

                        }else if(!$query){

// if your email succesfully sent
                        if($sentmail)   {
                                        }else if(!sentmail) {
                                                    header("location:registration.php?msg=errorlink");   }


Plz Help Me.

Edited 3 Years Ago by pritaeas: Fixed formatting

This article has been dead for over six months. Start a new discussion instead.