项目要用到发邮件的功能,代码写好了,在 Linux 下测试正常,不过在 Mac 下就发不了邮件,日志如下,应该是没有装相关的插件,在 Linux 下没记错的话是要装 sendmail,不知道在 Mac 下有什么替代方案?谢谢:-)
Sent mail to zernel@andertec.ca (7ms)
Date: Thu, 17 May 2012 14:27:33 +0800
From: info@bayspaceevents.com
To: zernel@andertec.ca
Message-ID: <4fb49a55c34f4_2073fc174434d40932de@ZernelmatoMacBook-Pro.local.mail>
Subject: Your reset password code is YUEKHE
Mime-Version: 1.0
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit