我收到了一个成功向我发送电子邮件的联系表。
这是摘录:
$_POST['message'] = wordwrap($_POST['message'], 70);
mail ('myemail@test.com', $_POST['subject'], $_POST['message'] , $_POST['email']);
echo "<div class='registertext'>Your email was succesfully sent to a member of the administration team. Please wait 24 hours for as to reply and ensure you check your junk mail!<br />To login please click <a href='login.php'>here</a></div>";
我遇到的问题是,电子邮件是从我的主机发送的。不是我想指定的电子邮件。我将如何克服这一点?