Skip to content

C# Samples for reading and updating Gmail API Messages

Notifications You must be signed in to change notification settings

jacodv/GmailApiSamples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

GmalApiSamples

C# Samples for reading and updating Gmail API Messages

Code started from base: https://www.youtube.com/watch?v=0fTSKtPBLUc and refactored to be SOLID.

Google Client Details have been deleted. Replace with your own.

The resulting credentials file will be created in c:/temp/googleCreds

{
  "GMailSettings": {
    "EmailAddress": "me"
  },
  "GoogleClientSecret": {
    "installed": {
      "client_id": "944422752220-gh534srng8agn7j64h5q2g7m9i3abotf.apps.googleusercontent.com",
      "project_id": "zhoareadings",
      "auth_uri": "https://accounts.google.com/o/oauth2/auth",
      "token_uri": "https://oauth2.googleapis.com/token",
      "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
      "client_secret": "e7mrky3UUOzm5eEuNITDaK5w",
      "redirect_uris": [
        "urn:ietf:wg:oauth:2.0:oob",
        "http://localhost"
      ]
    }
  }
}

About

C# Samples for reading and updating Gmail API Messages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages