如何使用 php 设置“返回路径”?
我试过的
$subject = "title \"" . $row['title'] . "\"";
$headers = "From: test <no_replay@test.com>\r\n";
$headers .= "Return-Path: no_replay@test.com\r\n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/html; charset=UTF-8\r\n";
mail($email,$subject,$addletter,$headers);
从gmail来源我看到Return-Path: <apache@localhost.localdomain>