Archived Forum Post

Index of archived forum posts

Question:

POP3: How to fetch complete email

Apr 30 '13 at 10:45

Using:

CkoEmail *email = [self.mailman FetchByMsgnum:mailNum];

Does this fetch the complete email, including attachments and related items? If not, is there a way to completely fetch it?


Answer

Yes. The POP3 protocol is very simple as compared to IMAP. There are only 2 possibilities with POP3: Either download the entire email, which means the entire MIME, which includes all MIME parts and thus all attachments. Or... one can download the email header via POP3. This will download only the MIME header and the 1st N raw lines of the MIME body.