看板 PHP 關於我們 聯絡資訊
$email=$_POST["email"]; //收信人 $title="帳號基本資料"; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=Big5' . "\r\n"; $headers .= 'From: '.$companyname.' <webmaster@xxx.com.tw>'; //寄信人 $msg="<head> <meta http-equiv=\"Content-Type\" content=\"text/html; charset=big5\" /> </head> <body> 信件內容 </body>"; 上面是變數 使用mail function mail($email,$title,$msg,$headers); ref: http://tw.php.net/function.mail -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.229.145.143