Step-by-step guide to make PHP's mail() function work on OS X Mavericks

痴心易碎 提交于 2019-12-14 03:58:20

问题


Since I've updated to Mavericks the mail() function doesn't work anymore.

mail('mail@example.com', 'subject', 'message')

returns true but no email is in my inbox

Is there a step-by-step guide to get this work? I've limited knowledge with postfix, smtp, sendmail and that stuff so please be nice

Thanks!


回答1:


I had this issue in Moutain Lion whenever I restarted and this helped:

PHP mail() no longer works after update to OSX Mountain Lion



来源:https://stackoverflow.com/questions/22541445/step-by-step-guide-to-make-phps-mail-function-work-on-os-x-mavericks

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!