Awesome Open Source
Awesome Open Source


This project is a very basic demo showing how to authenticate with OAUTH2 and send an email message for gmail as well as email addresses.

You will need to create a file called Globals.pas which contains the following constants

With some further work, this could be further improved to remove some of the required constants and improving some of the error handling.

At this stage, the refresh_tokens are retrieved in the authentication process - but are not saved. If these were saved, the process would not require a web browser everytime to authenticate.


Geoffrey Smith

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Pascal (9,033
Authentication (3,909
Oauth2 (2,431
Delphi (1,255
Gmail (399
Outlook (207
Related Projects