You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 2, 2019. It is now read-only.
Solved it, the Prefetch option is not well documented.
Prefetch is usually used to just grab headers and not body content (in the code it passes !Prefetch into the HeadersOnly parameter on the GetMessage command. Which results in the body not being retrurned.
to fix it, I just added -prefetch on this line: $msgs = $gmail | Get-Mailbox | Get-Message -unread -prefetch
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm receiving blanks /null for $msg.Body even though there is content within the bodies in gmail.
The text was updated successfully, but these errors were encountered: