Jump to content

J23

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

Technical Information

  • Delphi-Version
    Delphi 2010
  1. J23

    Sending Email via GMail Using OAuth 2.0 via Indy

    I do not know yet. The problem will certainly appear right after the start of programming ;-). I need to start by reading the documentation. An example that works even in the worst way guarantees success.
  2. J23

    Sending Email via GMail Using OAuth 2.0 via Indy

    Thank you very much for your quick reply. Failed how, exactly? I've corrected dotted unit names but I don't have REST.Authenticator.OAuth module. As I wrote before I've tried to install "MARS-master" REST library with no success. In fact my problem is with Office365 mail, but I think is similar to Gmail. I've tried in my home Office365 trial account App-Specific password erlier and it works very well. But my University net admin did not allow 2-Factor Authentication. Yesterday I downloaded and installed the latest INDY package, but I didn't notice this version of Oath2. I've installed it today. I don't know if I can handle the next steps you described. I'm afraid this may not be easy. I will try. Thank you again, J23
  3. J23

    Sending Email via GMail Using OAuth 2.0 via Indy

    Thank you very much for your quick reply. Unfortunately, there are many problems: 1. {$HPPEMIT LINKUNIT} - [DCC Error] U_DCS_OAuth2.pas(23): E1030 Invalid compiler directive: 'HPPEMIT' and uses: 2. Data.Bind.ObjectScope, - [DCC Fatal Error] U_DCS_OAuth2.pas(31): F1026 File not found: 'Data.Bind.ObjectScope.dcu' ... 3. REST.Client, - [DCC Fatal Error] U_DCS_OAuth2.pas(33): F1026 File not found: 'REST.Client.dcu' and so on. J23
  4. J23

    Sending Email via GMail Using OAuth 2.0 via Indy

    Hello, i tried to run @Geoffrey Smith gmailauthsmtp in my Delphi 2010 but failed. I know that D2010 is a very outdated version. I don't have a REST library. I tried to install "MARS-master" https://github.com/andrea-magni/MARS but it doesn't support versions older than Delphi XE. Maybe there is some way to enable OAuth2 in Delphi 2010? Thanks in advance for your advice. J23
×