Email not received - If PHP mail() returns true, was mail sent ?
I would like to ask, if PHP email() returns true, does it mean email was sent ? Beacuse I am not receiving it.
Hi,
If PHP mail() function returns TRUE, it means
email was created and accepted for delivery, but not automatically sent to recipient.
These are the possible problems:
- Sending of emails is not allowed or configured in php.ini
- Sending of emails is limited, not allowed or not configured at the level of SMTP server
- Email was successfully sent, but recipient's server recognizes it as a spam (because of IP address, email address or previous user actions)