So after a lot of testing, I discovered that PHP mail fails when there is an invalid email address in the headers. Since I am using PHP 8, and the PHP constant PHP_EOL has changed between php 7.4. and php 8.x., I followed the advice here and it worked!
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Can't receive email by smtp | 1 | 51 | April 23, 2025 | |
| Problem with sending email by using SMTP | 34 | 357 | December 3, 2024 | |
| Kanboard hosted locally - emails are not received | 17 | 1256 | April 15, 2023 | |
|
Can't get email to send?
|
10 | 118 | March 2, 2025 | |
| Send by email does not work | 12 | 5501 | August 2, 2019 |