如何使多个文件发送邮件功能? [英] How to make a multiple file sending mail function?

查看:139
本文介绍了如何使多个文件发送邮件功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在学习PHP以成为更好的Web开发人员。我想制作一个邮件系统,允许我上传3个文件(上传1个,上传2个上传3个),然后当我点击提交时,所有三个文件都被发送到我的邮件ID。



这是我的基本html标签



I'm learning PHP to be a better web developer. I want to make a mail system that allows me to , upload 3 files (upload 1, upload 2 upload 3), and then when I click submit all three files are sent to my mail ID.

This is my basic html tag

<html>
<body>
<form id="sent" name="sent" action="sent.php" method="post" enctype="multipart/form-data">
<input type="file" name="upload1" />
<input type="file" name="upload2" />
<input type="file" name="upload3" />
<input type="submit" value="Submit" />
</body>
</html>

推荐答案

您可以通过以下链接获取解决方案: -



http://stackoverflow.com/questions/22245082/how-to-attach-tw o-or-multiple-files-and-send-mail-in-php [ ^ ]





http://php.net/manual/en/function.mail.php [ ^ ]
you can go through the following link for your solution:-

http://stackoverflow.com/questions/22245082/how-to-attach-two-or-multiple-files-and-send-mail-in-php[^]


http://php.net/manual/en/function.mail.php[^]


这篇关于如何使多个文件发送邮件功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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