开发者

In PHP, IMAP Functions, what are the functions that download the attached files ? (even if we don't explicitely want to download them)

In PHP, IMAP Functions, what are the functions that download the attached files. I only want to download attached files if needed.开发者_开发问答 I want to save bandwidth, but maybe some functions download them to get their information, or the structure of the email ? If I have an attachment of 2G, I don't want to download it, but want all the same to get the other part of the email (text parts, information about the email structure,...)


See imap_fetchbody and imap_fetchstructure. Messages with attachments are multi-part messages; you can tell imap_fetchbody which part you want to fetch.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜