I've a big problem. I want to use PHP's mail() function to send emails, but my PHP tells me that this function isn't available... I thought the mail() function is built-in in PHP!?
I've had this phenomenon once before. It happens when you compile PHP from the sources and there's no sendmail binary on the system (doesn't matter if Sendmail/Postfix or any other MTA is installed, as long as there is a sendmail binary...). Took me a few days to find out...
So if you try to compile PHP from the sources make sure that you have an MTA installed on your system...
Ok, jojo is right. There was no sendmail binary on my system, so I've installed Postfix and re-compiled my PHP, and now the mail() function is working.
Recent comments
22 hours 27 min ago
1 day 7 hours ago
1 day 8 hours ago
1 day 12 hours ago
1 day 16 hours ago
1 day 17 hours ago
1 day 19 hours ago
2 days 5 hours ago
2 days 10 hours ago
2 days 11 hours ago