Mailing not working quota not yet hit max
was working not long ago, code untouched
full code:
<?php //get information that has been passed to this php $name = $_GET['name']; $email = $_GET['email']; $msg = $_GET['msg']; //send the notification to admin account and the user's email// $to = "nattekko@gmail.com"; $to2 = $email; $to3 = "lcpok23@gmail.com"; $subject = "Enquiry"; $txt = "Thank you for filling the form, we will contact you shorty \n Full Name : $name \n Email : $email \n Message : $msg"; $txt2 = "An inquiry has been received, please take note. \n Full Name : $name \n Email : $email \n Message : $msg"; $headers = "From: nattekko@gmail"; if(mail($to,$subject,$txt2,$headers) && mail($to2,$subject,$txt,$headers) && mail($to3,$subject,$txt2,$headers)) { echo "Thank you for filling the form, we will contact you shorty \n Full Name : $name \n Email : $email \n Message : $msg"; }else { echo "Not mailed: Please try again"; } ?>image: