I’m not sure if this is possible or what as I’m quite new but I have a simple php mail script that was working previously, and now is just sending 0 emails.
$sql = “INSERT INTO Activities (S_ID, Activity, Observation, Date, ActivityPicture) VALUES (’$S_ID’, ‘$activity’, ‘$observation’, ‘$date’, ‘$activityPicture’)”;
if(mysqli_query($conn, $sql)){
echo “Record inserted successfully”;
mail("connor@students.ac.uk", “asass”, “asdasdasd”);
} else {
echo "ERROR: Could not execute $sql. " . mysqli_error($conn);
}
mysqli_close($conn);
?>
My php is as shown, inserting records still works fine.
Emails are definitely not in junk/filtered etc from my email address either.
Or is there an email limit? How would I increase this? I am not sure how to properly make this function, and thus have been repeat emailing myself.