在PHP电子邮件中删除“通过us-imm-node4c.000webhost.io”

问题描述

我已经测试了一个PHP脚本来发送电子邮件。消息到达时,它说: genera01.000webhost.com通过us-imm-node4c.000webhost.io

我一直在寻找有关如何通过us-imm-node4c.000webhost.io 删除的信息,但我什么都没找到

PHP代码是这样的:

 <?PHP
$to      = 'someemail@example.com';
$subject = 'the subject';
$message = '<html>
<body>
  <p><a href="https://www.w3schools.com">Visit W3Schools</a></p>
</body>
</html>';
$headers = 'From: genera01.000webhost.com' . "\r\n" .
    'Content-type: text/html; charset=iso-8859-1' . "\r\n";

mail($to,$subject,$message,$headers);
?>

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)