Jump to content

JIMSMITH

Members
  • Content Count

    32
  • Joined

  • Last visited

Community Reputation

0 Neutral

Recent Profile Visitors

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

  1. JIMSMITH

    Sending Email VIA Google.

    Here is the latest information. The referenced mail project does include a TidHTTPServer. The port was changed and it no longer worked. I have corrected this problem and it works. Truth is I did not know that Oauth 2.0 communication required all of these pieces. I wish there was a flow diagram. Thanks for all of your help education.
  2. JIMSMITH

    Sending Email VIA Google.

    Remy , The product has a datamodule with a idhttpserver on it. I might have broken this part of the implementation. This is new ground for me with additional complications beyond my daily scope and skill set. I am digging into it to figure this oauth 2.0 process out. All assistance/input has been greatly appreciated. I need one of you sharp gents on retainer.
  3. JIMSMITH

    Sending Email VIA Google.

    Do I find a http server on the web and install it? I will be checking for solutions in the meanwhile. The core of the app that I am testing is from Geoffrey Smith's GmailAuthsmtp demo. This entire oauth2 process is new to me and a little unclear. I think it has an http server component internally. Not sure if I broke it an it no longer works.
  4. JIMSMITH

    Sending Email VIA Google.

    Not sure why I end up with local. The application is in dev/test mode. I get to a web page that says google has not verified this app. Thanks for your help Google uses localhost for OAuth2 authentication during development to simplify the process of testing and debugging. When you're developing an application, you can use localhost as the redirect URI to avoid the complexities of setting up a public server for testing purposes. This allows developers to run and test their applications locally without exposing their credentials and tokens to the internet.
  5. For some reason I have to authorize my application through google to send email again. During the process I check the box indicates read, compuse, send email. I encounter an error indicated in the image below. The firewall has been turned off on this computer. Does anyone know how to resolve this error?
  6. JIMSMITH

    sending email with oauth2

    Thanks for responding to my post. Can you advise which example code should I place the creds and IdSMTP1 code into. FYI: The geoffsmith sample project prompts for user authentication. I can have that as this will execute as a back end process and not be visible to the ui. I just need to send an email
  7. JIMSMITH

    sending email with oauth2

    Has anybody been able to send email from Delphi using oauth2. Every example that I have seen includes SMTP.UseTLS := utUseExplicitTLS; and SMTP.AuthType := satOAuth2; which appear undefined in my version 11 or 10.x? I am starting from scratch as Google tends to change access requirements to send email.
  8. JIMSMITH

    creating a frame at runtime

    I have 5 frames that I want to create at runtime. The frames are descended from tframe2 or tframe3 how can I create this and allow the type (tframe2 or tframe3) to be specified in a variable.? So the object will be specified in a variable and the type will be in a variable as well. So tframe2 and tframe3 will be defined and created at runtime, but the actual frame and descendant from type would be in a variable.
  9. Is it possible to load a timagelist with a .jpeg via TMemory stream?
  10. JIMSMITH

    Using Deplhi TWebmodule with parameter

    I was never able to trigger the action with this implementation. I will try again. I don't think that I tried it properly.
  11. JIMSMITH

    Using Deplhi TWebmodule with parameter

    I'm just glad to know that there is a legitimate format / usage of the option that you specified. I'm not quite sure how to specify the parameters in the url with the /getname/* option. The other option was /getname?name=jim&zip=91001 Don't know how to implement the other.
  12. JIMSMITH

    Using Deplhi TWebmodule with parameter

    Okay. Thanks for your assistance.
  13. JIMSMITH

    Using Deplhi TWebmodule with parameter

    Thanks for responding to my post. This actually worked by removing the additional characters / symbols. Do you know why there are many examples the use other options in the pathinfo property? Examples are: /getname/* {seen in some youtube videos} /getname/data/:id {thoughts are that id would be a parameter} Now I am curious.
  14. I created a webmodule and assigned an action pathinfo of /getname*. The question is how do I create parameters for values say parameters ssn and dob would this become /getname/($ssn)/($dob)? Would really appreciate clarity.
  15. JIMSMITH

    install the DelphiMVCFramework

    Thanks for the clarity. Now I know how the versioning education.
×