问题
I wonder if there's any way to loop inside a mailbox and get the list of messages inside the mailbox.
I want to open each message and take screen shot of the email. Is there any way to do this? Any reference?
Thanks for your help.
回答1:
AFAIK there is not. The only mail interface comes from the MFMailComposeViewController
.
回答2:
I hope not.
回答3:
Ask the user for their credentials, and access it via standard POP3/IMAP. If your use is legitimate, they'll be more than happy to enter them. Apple won't permit this sort of behaviour, because they really don't want a fart app stealing some CEO's private e-mail.
来源:https://stackoverflow.com/questions/2276640/is-there-any-way-to-access-iphone-mail-app-mailboxes-inside-my-own-iphone-app