尝试制作一个代码,向我的成员发送确认电子邮件,当他们加入时,它将直接发送到那里的电子邮件,仅发送给新成员,我尝试了几个不同的因素,但它不会发送任何东西。有什么建议么?
$EMAIL=mysql_result($resultt,$it,"EMAIL");
$to = $EMAIL;
$subject = "Florida Fields To Forks - Order Confirmation";
$message = "Thank for your order! You can check your order here: http://www.floridafieldstoforks.com/order.php?orderid=$orderid";
$from = "floridafieldstoforks@gmail.com";
$headers = "From:" . $from;
mail($to,$subject,$message,$headers);