Jump to content

Geoffrey Smith

Members
  • Content Count

    8
  • Joined

  • Last visited

  • Days Won

    1

Geoffrey Smith last won the day on July 4

Geoffrey Smith had the most liked content!

Community Reputation

13 Good

Technical Information

  • Delphi-Version
    Delphi 10.4 Sydney

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Geoffrey Smith

    Sending Email via GMail Using OAuth 2.0 via Indy

    You need to create that yourself. In this file you need to add the missing constant values to make the project compile.
  2. Geoffrey Smith

    Sending Email via GMail Using OAuth 2.0 via Indy

    I have updated the demo. The demo now includes saving and loading refresh tokens, as well as checking for expired access_tokens and refreshing them with the refresh_token. Have a look at https://github.com/geoffsmith82/GmailAuthSMTP/ Geoffrey
  3. Geoffrey Smith

    Sending Email via GMail Using OAuth 2.0 via Indy

    I've updated my project so it now not only sends messages via gmail... but it can send hotmail.com/live.com/outlook.com emails. GmailAuthSMTP supports the XOAUTH2 and OAUTHBEARER authentication types and so could probably support other mail providers if they use those standards as well. https://github.com/geoffsmith82/GmailAuthSMTP/
  4. Geoffrey Smith

    Sending Email via GMail Using OAuth 2.0 via Indy

    I have now updated my demo to use an TIdSASL derived component that I created. I must admit that it does use the Delphi TOAuth2Authenticator component as well which is not a Indy component... but it has been in Delphi going back quite a few versions.
  5. Geoffrey Smith

    Sending Email via GMail Using OAuth 2.0 via Indy

    Hi @Ugochukwu Mmaduekwe, Have a look at https://github.com/geoffsmith82/GmailAuthSMTP/ I just created a simple demo for you. You will need to get a client_id from google in their developer toolbox. Geoffrey
  6. Geoffrey Smith

    Linux Platform target - problem with linking

    Thanks for that. Problem solved! 🙂 I was expecting Delphi to have a reasonable default for my first ever linux build. Obviously I was wrong about it being reasonable!
  7. Geoffrey Smith

    Linux Platform target - problem with linking

    Yes I did.
  8. Hi, I’ve been trying to get the Linux Target platform working in Delphi. I setup PAServer and can connect, but when I download the platform sdk from my Ubuntu 16.04 VM, after some time it asks to overwrite some files that already exist. I can choose yes or no here but I always end up with the error below [DCC Error] E2597 C:\Program Files (x86)\Embarcadero\Studio\19.0\bin\ld-linux.exe: error: cannot find -lrtlhelper_PIC c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::fpu_init(): error: undefined reference to 'fpu_init' c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::_GetCPUID(unsigned int, unsigned int): error: undefined reference to '_system_GetCPUID' [DCC Fatal Error] F2588 Linker error code: 1 ($00000001) How can I get this to work? Thanks
×