如何让 MAMP 在我的本地电子邮件上与 Mail 一起使用?我觉得我已经尝试了所有方法,但我的程序仍然不会发送电子邮件。
我试过了
[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = outlook.office365.com
; http://php.net/smtp-port
smtp_port = 995
; For Win32 only.
; http://php.net/sendmail-from
sendmail_from = me@example.com
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
; http://php.net/sendmail-path
sendmail_path = /usr/sbin/sendmail -t -i -f me@example.com
我只想能够从我当地的 MAMP Pro 网站发送电子邮件。 任何建议都会很棒!