I just updated OS X to Mountain Lion yesterday, but the php function mail() does not work anymore.
mail()
Before updating, the PHP mail() function wor
After creating the spool folder as described above, I configured postfix following the directions on this article OS X Hints
I also had to edit my php.ini sendmail path to have some extra switches, specifically
sendmail_path=/usr/sbin/sendmail -t -i