IT & SHANGHAI REAL ESTATE
PHP mail()函数
mail()函数,你能用此函数发送电子邮件。
语法:
bool mail ( string to, string subject, string message [, string additional_headers [, string additional_parameters]])
在上面的语法中的各个参数代表的意思是:string to——收件人的email地址、string subject——email的主题、string message——email的正文、string additional_headers——加email的附加信息到信件头尾部。
如果邮件成功的被发送mail()函数将返回TRUE,否则返回FALSE。
| Print article | This entry was posted by John Zhang on 2011/05/04 at 16:55, and is filed under 未分类. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |