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

exception #39

Open
Kimo11335 opened this issue Jan 31, 2021 · 0 comments
Open

exception #39

Kimo11335 opened this issue Jan 31, 2021 · 0 comments

Comments

@Kimo11335
Copy link

Sample Name:
https://developers.google.com/drive/api/v3/quickstart/dotnet
foreach (MessagePart p in emailInfoResponse.Payload.Parts)
{
if (p.MimeType == "text/html")
{
byte[] data = FromBase64ForUrlString(p.Body.Data);
string decodedString = Encoding.UTF8.GetString(data);

                                }
                            }                   

Expected Behavior

Exception:
An unhandled exception of type 'System.NullReferenceException' occurred in Gmail.exe
Additional information: Object reference not set to an instance of an object.

Specifications

  • .NET version:
  • OS (Mac/Linux/Windows):
sqrrrl pushed a commit that referenced this issue Jun 17, 2022
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

1 participant