Sunday, 29 July 2012

Send Mail using mail function in PHP

$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);

Ditulis Oleh : Unknown // 10:50
Kategori:

0 comments:

Post a Comment

 

Followers

Powered by Blogger.