Starting in September 2024, Google will stop accepting SMPT.
currently no longer allows new unsecured app keys.
and it will only accept oauth
Beginning September 30, 2024: third-party apps that use only a password to access Google Accounts and Google Sync will no longer be supported
What’s changing As part of our commitment to user safety, Google Workspace will no longer support the sign-in method for third-party apps o...
workspaceupdates.googleblog.com