$email = validate_input($_POST['email']);
$headers = "From: donotreply@xyz.co.nz"."\r\n". "CC: coach@xyz.co.nz"; $body = "Hi, Thank you for subscribing . Please find the link below for FREE 1 week course on Basic’s of Freestyle.\n\nwww.xyz.com/freecourse.php";
$body = wordwrap($body,70);
$mail = mail($email, "| Basic’s of Freestyle", $body,$headers);
答案 0 :(得分:0)
$mail = mail($email, "| Basic’s of Freestyle", $body,$headers,'-fcoach@xyz.co.nz');