# cat mail.php <?php $to = "neo.chen@example.com"; $subject = "My subject"; $txt = "Hello world!"; $headers = "From: webmaster@example.com" . "\r\n"; //. "CC: somebodyelse@example.com"; mail($to,$subject,$txt,$headers); ?>