如何从PHP表单发送带有附件的电子邮件? [英] How can I send an email with attachments from a PHP form?

查看:96
本文介绍了如何从PHP表单发送带有附件的电子邮件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从PHP表单发送带有附件的电子邮件?

How can I send an email with attachments from a PHP form?

推荐答案

发送实际的电子邮件建议您使用 PHPMailer库,这样可以更容易一些。

For sending out the actual e-mail I would recommend using the PHPMailer library, it makes everything much easier.

这篇关于如何从PHP表单发送带有附件的电子邮件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆