Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Body: nil #87

Open
lorenzodla opened this issue May 16, 2019 · 3 comments
Open

Body: nil #87

lorenzodla opened this issue May 16, 2019 · 3 comments

Comments

@lorenzodla
Copy link

Hi! I’m trying to fetch the email bodies. I have connected and got the headers correct but when I try to fetch the body it says “body: nil” also RFC size is 0.

How can I fetch it correctly? Is it my problem or is it from the API?

Thanks.

@vofili
Copy link

vofili commented Aug 21, 2019

i'm having this same issue

@sanchofox
Copy link

Maybe you have to insert the flag ".body" in the request.

Example: self?.postal.fetchLast("INBOX", last: 50, flags: [ .fullHeaders, .internalDate, .body ], onMessage: { message in //... }

@janek
Copy link

janek commented Feb 16, 2021

Thank you @sanchofox, that worked for me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants