0
在php mail()函数中,如何发送附件?我没有找到参数来做到这一点。任何帮助将不胜感激。如何发送附件文件?
在php mail()函数中,如何发送附件?我没有找到参数来做到这一点。任何帮助将不胜感激。如何发送附件文件?
必须有一个可以在某处设置的多部分标志,才能使连接保持连接状态,直到人员上传完成。
试试这个: http://snipplr.com/view/2686/send-multipart-encoded-mail-with-attachments/
[PHPMailer的(http://code.google.com/a/apache-extras.org/p/phpmailer/)使得它比较容易添加附件。 – ACJ 2012-08-21 00:32:17
这里有一个例子的文章:http://www.webcheatsheet.com/PHP/send_email_text_html_attachment.php – Amber 2010-02-16 06:01:53