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.
精彩评论