我使用这种方法在我的网站上发送邮件:
$message="Hello";
$headers='From: info@hosting.com'."\r\n".'Reply-To: info@hosting.com'."\r\n".'X-Mailer: PHP/'.phpversion();
mail("destination@mail.com", "Title", $message, $headers);
Run Code Online (Sandbox Code Playgroud)
但当我收到它时,该字段From被写为info.
我该怎么改变它?如My Website Hosting