Jump to content

rudy999

Members
  • Content Count

    20
  • Joined

  • Last visited

Community Reputation

2 Neutral
  1. update: I have it working to my satisfaction. Thank you for your pointing me in the direction to a solution. I did have to 'store' the token securely and update it if it is refreshed. (I might have the terms wrong, but it works) Best regards all
  2. Update - I just noticed that if I initially use a RefrToken for the SslSmtpClient when sending, I get a NEW RefrToken. so if I save this new RefrToken and re-use it the next time this can continue and never need the web page authorization? regards
  3. Angus, I know I am confused... Thank you for your patience. I see that I am obtaining both a RefrToken string AND AccToken string. I am NOT saving the RefrToken string, at the moment. The AccToken has an expiry datetime which is one (1) hour into the future of the request moment. As a test, I did hard code the RefrToken into the SslSmtpClient.OAuthToken property and when I sent an email, there was NO web login authorization web page and the email was sent successfully. As you indicated, the RefrToken is the long-lived token. Is there a property on SslSmtpClient or ICsResetEmail that shows the expiry date of this token? A quick web search shows it is 90 days vs 1 hour for the AccToken. Question=with a proper RefrToken can I then use GetNewToken(False) or how would that be done? thanks in advance
  4. " I assume you are referring to an OAuth2 login page appearing in a browser during authentication " <<That is correct. The token I use with Microsoft Azure seems to be for 1 hour. For the non-service app this is not an issue and the browser pops up but the app continues. " Your service can email an admin to update the token manually if it expires. " <<Is this practical?How can the service email without a valid token? **The service runs on an unattended PC that is not the same as the working app** Thunderbird is a non-MS app that uses OAUTH2 and the browser pop up does not occur. So I thought that it was possible, even for an interactive app. Any ideas are appreciated. thks
  5. I have seen the ICS demos and have successfully used the following components: TSslSmtpCli TSslContext TIcsRestEmail to connect and send emails from a user - based application, = outlook office, Microsoft Azure with proper API permissions for authentication. However, I cannot see this working for a Service-based application where there is no one logged in for the web page to appear. (send emails only, no need to read) Is there a demo or instructions if this is possible to implement? thank you in advance
  6. Martin thank you for this information. I had to set the PE Versions to 5.0 to get the O/S to recognize it, and now it runs. regards and all the best!
  7. A 'legacy' environment - with 'old...' applications running on Windows Server 2000. I have a support application running on the same server that was developed in earlier versions of Delphi and lastly compiled in Delphi 10.4.2. I recently compiled the same app in Delphi 11 - win32 and tried to run that app om W2000. 'not a valid win32 application'. Just to test and verify that it is Delphi 11 and not the app--- I created a test VCL app with a FORM and no manifest or other 'newer' project options enabled and tried to run that on w2000. - same message. (*Just Curious and want to learn*) - I know W2000 is no longer a valid o/s to work with (maybe now that win32 apps would not work on XP!). QUESTION - what internal new 'feature' in Delphi 11 causes the compilation to create a win32 app exe in the file that is not recognized now? -the answer may be in a Delphi 11 release note ? Thanks in advance
  8. rudy999

    Delphi 11 first look issues

    I had not tried the F1 - but yet it does not open a specific version 11 help - it refers to 10.x Doc Wiki link goes to Delphi 11 Alexandria page.
  9. rudy999

    Delphi 11 first look issues

    More feedback. 1. When I have a win application project open- and switch from win32 to win64 -- and I need to add a new library path to the Win64 environment- The Library .. Selected Platform DOES NOT FOLLOW - the initial Selected Platform is STILL win32.... 2. Exes generated by Delphi11 are 'slightly smaller' than those for the equivalent app generated in 10.4.2 The look and feel for Delphi 11 is nice but it seems to me the concentration was on eye candy and new code candy, not on basic IDE usability in regards to 10.x IDE (font, toolbar persistence, library path selection matching project)?
  10. rudy999

    Delphi 11 first look issues

    (Windows 10 - I am admin on PC) 1. install did not work on one PC (this had 10.4-and was-is my'new version test PC'. (I could install it on another PC no issue) 2. IDE modification -settings do not get save between IDE sessions. -- Fonts --customizing toolbars Once Delphi is started again -back to initial installation settings.
  11. rudy999

    RAD Studio 11 Alexandria is now available

    UPDATE: I deleted other applications that increased the system PATH variable to below 1800 and DID not get the install WARNING from the install routine and STILL got the error - BDS.EXE was not found in the folder, though many other files and folders were created.
  12. rudy999

    RAD Studio 11 Alexandria is now available

    web install exe failed for me, started install - then error -could not find bds.exe (in the Studio\22.0\bin folder? I will try the ISO image **ISO image has same issue. Many folders created, files copied. BUT there is ***no*** BDS.EXE in the 22.0 \bin folder ISSUE may be Path - I do get a warning but I have pruned down the path as best I can. WHY in this day and age would Delphi use PATH?
  13. I am looking at a non-https intraweb application. I see the iW authorization components and the Autherevent looks promising. I see that placing it on the servercontroller and using the oncheck event I get what I need. Before anything happens when connecting to the iw web server the prompt comes up. When this is sent back to the server from a browser is that message encrypted in anyway with iW functionality or is it open html text? Thanks in advance
  14. rudy999

    10.4.2 issue maybe

    Side note=I went back to TMENU and used screen font to set font size as desired. Otherwise issue still exists
  15. rudy999

    10.4.2 issue maybe

    Balabuev -It is the class of the menu component - not a menu item. See attached. As per earlier posts - I can always 'get it back' - temporarily and so far it only an issue in the one project. It is an OLD component I have carried over many Delphi versions. The only reason I use it is that I can set the FONT of the menu. I am looking at alternatives also thanks
×