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
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):
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: