我已经对此进行了相当多的研究,虽然我发现有很多网站描述了如何操作,但仍然无法使用WAMP从Windows 8(64位)VM发送邮件和sendmail.exe。我已经检查了sendmail.ini和php.ini中的设置,根据我读过的内容,我已经准备好了:
[mail function]
; For Win32 only.
; http://php.net/smtp
; SMTP = mail.yourdomain.com
; http://php.net/smtp-port
; smtp_port = 25
; For Win32 only.
; http://php.net/sendmail-from
; sendmail_from = you@yourdomain.com
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
; http://php.net/sendmail-path
;sendmail_path =
sendmail_path = C:\wamp\bin\sendmail\sendmail.exe -t
我错过了什么吗?
答案 0 :(得分:0)
在这张蛋上涂蛋。谢谢阿尔瓦罗。我非常想跟随那些我认为不会使用Win32的文章,特别是因为他们只说Win32。
对我说。问题解决了:[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = mail.yourdomain.com
; http://php.net/smtp-port
smtp_port = 25
; For Win32 only.
; http://php.net/sendmail-from
sendmail_from = you@yourdomain.com
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
; http://php.net/sendmail-path
;sendmail_path =