[英]not able to send html in mail function via ( php )
我在mail()
函數中mail()
問題
我無法通過(php)在mail()
函數中發送html
我使用這個陳述:
$headers .= "MIME-Version: 1.0\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\n";
您必須在電子郵件標題中指定Content-Type: multipart/mixed
,以替換郵件內容類型。
$headers .= "MIME-Version: 1.0\n";
$headers .= "Content-Type: multipart/mixed; "\n\n";
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.