p8_smtp() p8_smtp( $params = array()) 参数为一个数组 host SMTP 服务器的主机 默认:localhost port SMTP 服务器的端口 默认:25 helo 发送HELO命令的名称 默认:localhost user SMTP 服务器的用户名 默认:空值 pass SMTP 服务器的登陆密码 默认:空值 timeout 连接超时的时间 默认:5 @return bool Parameters $params
send() send( $params = array()) 参数为数组 recipients 接收人的数组 from 发件人的地址,也将作为回复地址 headers 头部信息的数组 body 邮件的主体 Parameters $params