Sunday, 20 January 2013

mail() function use in php

<?php
$to      
'abcd@example.com';$subject = 'subject';$message 'hello';$headers 'From: info@example.com' "\r\n" .
    
'Reply-To: info@example.com' "\r\n" .
    
'X-Mailer: PHP/' phpversion();
mail($to$subject$message$headers);?>

No comments:

Post a Comment