要使用显示的名称(而不是显示的电子邮件地址),请使用以下命令:
"John Smith" <johnsemail@hisserver.com>
简单。
关于折线,这是因为您将文本用撇号而不是引号引起来:
$headers = array( 'From: "The Sending Name" <noreply@rilburskryler.net>' , 'Reply-To: "The Reply To Name" <noreply@rilburskryler.net>' , 'X-Mailer: PHP/' . phpversion() , 'MIME-Version: 1.0' , 'Content-type: text/html; charset=iso-8859-1' , 'BCC: ' . $emailList);$headers = implode( "rn" , $headers );



