Skip to content

wikan-github/GmailAuthSMTP

 
 

Repository files navigation

GmailAuthSMTP

This project is a very basic demo showing how to authenticate with OAUTH2 and send an email message for gmail as well as hotmail.com/outlook.com/live.com 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.

Thanks

Geoffrey Smith

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Pascal 100.0%