This project is read-only.

Some messages could not be FETCHed (Failure)

Topics: Help requests, Issues
Jun 24, 2015 at 5:20 PM
Edited Jun 25, 2015 at 3:40 PM
My code is successfully connecting to gmail, and downloading the emails and their attachments.

I am able to access attachments through both the Message.Attachments and Message.EmbeddedResources. As well as header and subject lines. The problem is that as soon as I try and access the Message.Body.Text or Message.Body.Html I get the error: "Some messages could not be FETCHed (Failure)".

This only happens on the emails that have attachments. I've tried it with both .jpg and .pdf attachements. Has anyone else experienced this? I'm at a loss and not sure how to proceed.

It seems that when an email is in an RTF format and the attachments are inline, the body can be accessed without issue. Still not sure how to correct this as I can't control what other people send.