formatting email in php?

后端 未结 2 1621
夕颜
夕颜 2021-01-24 17:19
$to = \"$email\";
$subject = \"Thank You\";
$message = \"

Thanks for applying

\"; $from = \"solomon@kornar.com\"; $headers = \"From: $from\"; mail($to,$
2条回答
  •  礼貌的吻别
    2021-01-24 18:12

    You need to set your headers content type. Like:

    $headers.= 'Content-type: text/html; charset=UTF-8' . "\r\n";
    

提交回复
热议问题