知乎專欄 | 多維度架構 | 微信號 netkiller-ebook | QQ群:128659835 請註明“讀者” |
# 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); ?>