Skip to content

Latest commit

 

History

History
8 lines (7 loc) · 649 Bytes

README.md

File metadata and controls

8 lines (7 loc) · 649 Bytes

GmailService

Small service to communicate with gmail service

  1. Clone this repository or use it in your project in any other way
  2. Open https://developers.google.com/gmail/api/quickstart/java link, press 'Enable the Gmail API' button and download created credentials file
  3. Move the credentials file from previous step to the 'src/main/resources/gmailcredentials' directory
  4. Go to the GmailUsers enum, located in 'src/main/java/enums' and create your own(Check out the 'EXAMPLE' for an example)
  5. On the first usage of gmail service, generating authentication token page, will be opened in your browser, follow instruction to generate token