title: PHP's mail() function doesn't work while using MAMP in OS X 10.8.2
body: <p>I have searched all the solutions but they don't work out, because my problem is different from others.</p>
  
  <p>I followed the solution step by step according to <a href="http://theandystratton.com/2009/fix-phps-mail-function-after-latest-os-x-leopard-update" rel="nofollow">http://theandystratton.com/2009/fix-phps-mail-function-after-latest-os-x-leopard-update</a>, but when I run the command <code>tail -f /var/log/mail.log</code> in terminal, I get an error:  </p>
  
  <pre><code>sumomomatoMacBook-Pro.local postfix/sendmail[51722]: fatal: chdir /Library/Server/Mail/Data/spool: No such file or directory
  </code></pre>
  
  <p>If you don't understand what I am talking about because of my poor English, you can correct me and ask me for more details.</p>