php Simple Sending Mail

<?php
// the message
$msg = “First line of text\nSecond line of text”;

// use wordwrap() if lines are longer than 70 characters
$msg = wordwrap($msg,70);

// send email
mail(“yulinurachman@localhost”,”My subject”,$msg);
?>

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.