我正在尝试将消息从 Localhost 发送到 Localhost(Thunderbird 帐户),我正在按照本教程使用 XAMPP如何使用水银 ....
我的 php.ini 配置文件是
[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = localhost
; http://php.net/smtp-port
smtp_port = 25
; For Win32 only.
; http://php.net/sendmail-from
sendmail_from = postmaster@localhost
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
; http://php.net/sendmail-path
;sendmail_path
=
尽管如此,我仍然收到下一个错误
Warning: mail(): SMTP server response: 421 Service not available, closing channel.