简体   繁体   中英

PHP's mail() function doesn't work while using MAMP in OS X 10.8.2

I have searched all the solutions but they don't work out, because my problem is different from others.

I followed the solution step by step according to http://theandystratton.com/2009/fix-phps-mail-function-after-latest-os-x-leopard-update , but when I run the command tail -f /var/log/mail.log in terminal, I get an error:

sumomomatoMacBook-Pro.local postfix/sendmail[51722]: fatal: chdir /Library/Server/Mail/Data/spool: No such file or directory

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM