使PHP' mail()函数在OS X Mavericks上工作的分步指南 [英] Step-by-step guide to make PHP's mail() function work on OS X Mavericks

查看:47
本文介绍了使PHP' mail()函数在OS X Mavericks上工作的分步指南的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自从我更新到Mavericks以来, mail() 函数不再起作用.

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

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

返回 true ,但收件箱中没有电子邮件

returns true but no email is in my inbox

是否有分步指南来完成这项工作?我对postfix,smtp,sendmail和诸如此类的东西知之甚少,请保持友善

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

谢谢!

推荐答案

每当我重新启动时,我在Moutain Lion中都会遇到此问题,这会有所帮助:

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

PHP mail()不再起作用更新到OSX Mountain Lion之后

这篇关于使PHP' mail()函数在OS X Mavericks上工作的分步指南的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆