开发者

I want to fetch complete mail header from inbox using IMAP

开发者 https://www.devze.com 2023-01-11 12:09 出处:网络
I am using IMAP to fetch mails from an inbox, Now I want to fetch complete header of a particular mail, Which IMAP function should I use to fetch all the header infor开发者_如何学Pythonmations ?

I am using IMAP to fetch mails from an inbox, Now I want to fetch complete header of a particular mail, Which IMAP function should I use to fetch all the header infor开发者_如何学Pythonmations ?

I checked php.net and found many to grab header info, Could you please specify one to get complete header info

Thank you


You need to submit a "fetch" command, specifying "body[header]"

Like this: A01 fetch 88 body[header]

A01 is a unique identifier 88 is the message number

Cheers!

0

精彩评论

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