当前位置:编程学习 > php >>

php mail函数怎么开启

答案:在你的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编写的函数吗??

 

和一般语言一样。先引用。。然后调用。

上一个:php二位数组拆分
下一个:php preg_match 正则

CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,