How to save image attachment from email using IMAP & PHP?

混江龙づ霸主 提交于 2019-12-11 06:09:56

问题


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.

How to go about this using PHP & IMAP?

Thanks in advance

来源:https://stackoverflow.com/questions/2292199/how-to-save-image-attachment-from-email-using-imap-php

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!