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