Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New Google Security Requirements for smtp access
#2
(02-25-2025, 06:28 PM)OldBob1938 Wrote: I don't know if this is the correct place to ask this question.

Yes, this is fine.

(02-25-2025, 06:28 PM)OldBob1938 Wrote: I am using TidSMTP version 10.6.2.

That is the old version. The current version is 10.6.3.9.

(02-25-2025, 06:28 PM)OldBob1938 Wrote: I don't understand google's requirement that accounts with app passwords must have 2 step verification.  How can this work for automatic tasks?

App passwords do not themselves prompt the user with MFA queries. Google simply requires MFA to be enabled on the account in order to create app passwords. App passwords are meant to be used with non-MFA-capable software when MFA is enabled.

(02-25-2025, 06:28 PM)OldBob1938 Wrote: Also, don't understand the requirements for OAuth 2 starting next month.  

What don't you understand, exactly? OAuth2 is nothing new to Google, it's been around for awhile.

The latest Indy version has a TIdSASLXOAuth2 component which you can include in TIdSMTP.SASLMechanisms to handle Google's XOAUTH2 command. You can use TIdHTTP or any other REST component to get an OAuth access token from Google per its OAuth 2.0 documentation, and then assign that token to TIdSASLXOAuth2 for authenticating your SMTP sessions, instead of using an app password.

Reply


Messages In This Thread
RE: New Google Security Requirements for smtp access - by rlebeau - 02-25-2025, 08:45 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)