我想这样做,以便我的电子邮件脚本将转到收件箱而不是垃圾邮件箱。 我怎样才能解决这个问题? 这是我的代码
$q_ry = array();
$q_ry = "SELECT `my_email` FROM `members`";
$adresses = array();
$adresses = mysql_query($q_ry);
while ($u = mysql_fetch_array($adresses))
{
if (!mail($u['my_email'],"Reunited City Newsletter",$_POST['email'],"From: no-reply@reunited-city.com"))
{
echo "Email not sent to" . $u['my_email'] . "!<br/>";
}
}
echo "<font color = 'green'><b>Mass email sent successfully!</b></font>";
如果需要,我可以发布完整的代码.. 谢谢