如何使用IMAP& amp; PHP? [英] How to save image attachment from email using IMAP & PHP?
本文介绍了如何使用IMAP& amp; PHP?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经成功编写了连接到我的邮件服务器的脚本,并检索所有新邮件的标头和正文。我想进一步检测附件是否存在(仅适用于图像),如果是,请下载到服务器。
I've successfully written script that connects to my mail server and retrieves the headers and bodies of all new messages. I want to take it one step further to detect if attachment exists (images only), if so, download to server.
如何使用PHP& IMAP?
How to go about this using PHP & IMAP?
提前感谢
推荐答案
这篇文章解释了如何做到这一点。
It's a little old but this article explains how to do it.
这篇关于如何使用IMAP& amp; PHP?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文