<?php $to = 'firstname.lastname@example.org'; $subject = 'test'; $message = 'hello'; mail($to, $subject, $message); echo "email send"; ?>
I used this piece of code to test that an email would be send to my if I run it.
I run it and it gives me the message: "email send". When I look in my inbox there is nothing there.
I checked if the email address is correct, and it is.
I waited 24 hours for the email to arrive, and still nothing.
I have send the email more then 1 time, so it should be there...
What can the problem be then?