Hi folks,
Plesk 8.3, Cent OS 5, PHP 5.2.5
This is a new server with a relatively fresh os and plesk install and the mail() function in php doesn't work on it. It's returning a false value. I've had a hunt around and from what I can gather this is something to do with security. Using something like phpmailer I can send mail fine but I have rather a lot of client scripts using mail() that I do not want to have to start tampering with.
Can anyone recommend anything to get this working or to investigate further?
Thanks,
martin
php mail() function not working
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
PHP errors are logged to the webserver log. Check the domain's error_log or enable display_errors in your PHP script to see the errors in your browser.
Lemonbit Internet Dedicated Server Management