$to = "admin@user.vn";$subject = "User.vn";$body = "Body of your message here you can use HTML too. e.g. <br> <b> Bold </b>";$headers = "From: Peter";$headers .= "Reply-To: info@yoursite.com";$headers .= "Return-Path: mailto:info@yoursite.com";$headers .= "X-Mailer:PHP5";$headers .= 'MIME-Version: 1.0";$headers .= 'Content-type: text/html; charset=iso-8859-1";mail($to,$subject,$body,$headers);
Comments
Post a Comment