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.
0
give a positive ratinggive a negative rating
16 Sep 2022 at 01:06 PM
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)

1
give a positive ratinggive a negative rating
18 Sep 2022 at 06:46 PM
Tim
Share on FacebookShare on TwitterShare on LinkedInSend email
x
x
Follow us on Facebook
2022 AnswerTabsTermsContact us