Based on the information of mail function in php, it says that a setting of sendmail_path has to be set in php.ini. I tried to search for this php.ini file. I could not find it. Not sure it is in a difference file or something else I don't know.
I tried to call mail function in a test php file in my local Sites. Nothing happened. I guess it is mail configuration issue in my local php. How should this to be set? Any detail information for Mac?
I am using Snow Leopard. The phpinfo() displays the version is PHP Version 5.3.0. I cannot see any mail configuration from the result. Not sure if there is way to see the mail configuration from a php page?
Best Answer
This page tells where the php.ini file should be located.
If you load phpinfo.php in your browser it should show the current setting of sendmail_path.
You will need to have a working mail transport agent (e.g. sendmail).