我只是想删除通过邮件标题写的通过和额外的东西

时间:2018-04-28 14:37:57

标签: php jquery html css

click herer to view image

$email = validate_input($_POST['email']);
$headers = "From: donotreply@xyz.co.nz"."\r\n". "CC: coach@xyz.co.nz";  $body = "Hi, Thank you for subscribing . Please find the link below for FREE 1 week course on Basic’s of Freestyle.\n\nwww.xyz.com/freecourse.php";
$body = wordwrap($body,70);
$mail = mail($email, "| Basic’s of Freestyle", $body,$headers);

1 个答案:

答案 0 :(得分:0)

只需在标题后添加-f即可解决问题 $mail = mail($email, "| Basic’s of Freestyle", $body,$headers,'-fcoach@xyz.co.nz');