auto response emails

I have a php script that has been set up and i am having trouble getting the email to work the code is[php] $email = get_option(‘admin_email’);
$headers = “From: “.get_bloginfo(‘sitename’).” <$email>\r\nContent-type: text/html”;
$message = "Hello $user_login,
\r\nThanks for registering to ".get_bloginfo(‘sitename’)."
Here is your login info:
\r\nUsername: $user_login
\r\nPassword: $user_pass
\r\n<br[/php]
i changed the words in red to what i need them to be but it still wont work. what else do i need to do??

sorry i changed the admin email, and site name to what i need it to be.

Sponsor our Newsletter | Privacy Policy | Terms of Service