php教程

安装/配置

Table of Contents

User Contributed Notes

David dot Kit dot Friedman at gmail dot com 14-Jul-2009 12:01
Just to add to the previous note -- if you are using windows and also SMTP authentication it is possible to get this to work by using the PEAR Mail package:

http://pear.php.net/package/Mail

I do not believe the built in Mail function provides this.
alvaro at demogracia dot com 11-Nov-2008 01:12
The sendmail binary requirement only applies to Unix-like platforms (e.g. Linux). In Windows you need to specify a mail server that accepts mail through a network connection. Find these lines in your php.ini file:

[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25

; For Win32 only.
;sendmail_from = me@example.com

CopyRight © 2008-2022 verySource.Com All Rights reserved. 京ICP备17048824号-1 京公网安备:11010502034788