I'm doing a form of registration.
I want that every time that an user is signed up, a mail arrive to me. So I made this:
mail("myemail@hotmail.com", "New User", $message);
In $message
I have the username of new user.
I try to do some test with fake data. I signed up correctly but the mail doesn't arrive. Why?
Edit: now I try to add header:
"From: User $uname <noreply@mysite.com>"
Edit2: I have print mail and I receive 1! But I don't receive mail! What could be the problem? In junk mail I don't have mail!