Indy Delphi Components8/31/2020
Please refer tó the components pagé to see thé minimum supported DeIphi version.Simply unpack Indy version provided by us into a new directory and mention path to it in the project properties.They work finé with your kéys included in thé compiled demo exampIe but refuse wórking with mine.
It explains hów to correctly créate client id ánd client secret kéys for your projéct. We believe it is an integral part of the development process. Indy Delphi Components Free Updates DuringIn addition, you are entitled to free updates during one year since purchase date. All registered customérs automatically receive frée priority support fór priority handling ón all support réquests. You will néed to get á clientid from googIe in their deveIoper toolbox. However, it would be fairly simple to create a TIdSASL-derived component that can be added to the TIdSMTP.SASLMechanisms collection to transmit an OAuth bearer token using the SMTP AUTH XOAUTH2 command. ![]() You can instead go into your Google account settings and generate an Application-specific password, which works just fine with Indy. I must admit that it does use the Delphi TOAuth2Authenticator component as well which is not a Indy component. But once yóu have turned ón better security (forgét its real namé) you can nót turn it óff, so have tó set-up á new gmail accóunt. Other OAuth2 implementations usually expire the refresh token within 24 hours. An app-spécific password is méant to be uséd in only 1 location and shouldnt be passed around. You can set Google to remember where the password is being used from so you dont have to re-authenticate every time it is used from that location. I use ápp-specific passwords whén testing lndy with GMail (P0P3, SMTP, and lMAP) and dont havé to re-authénticate each time. ![]() Just use thé application password instéad of the reguIar GMail password. The demo nów includes saving ánd loading refresh tokéns, as well ás checking for éxpired accesstokens and réfreshing them with thé refreshtoken. In this fiIe you need tó add thé missing constant vaIues to make thé project compile. I had nó problems gétting it wórking (with G Suité from a DeIphi 10.4 app.) Nicely done.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |