在你的php.ini里面找到:
[mail function]
; For Win32 only.
SMTP =smtp.***.com(邮件SMTP服务)
smtp_port = 25(邮件端口)
; For Win32 only.
sendmail_from =(你的邮件)
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =
; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =
你的意思是怎么运行PHP编写的函数吗?? 和一般语言一样。先引用。。然后调用。
这个函数不用开启吧,你是想做邮件发送?