An Azure service that provides an event-driven serverless compute platform.
Hi @Kim Strasser ,
Thanks for reaching out to Microsoft Q&A.
It looks like your PlayFab call to SendAccountRecoveryEmail is reaching your SMTP server but failing with:
“The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Authentication Required.”
In most cases this means your SMTP provider (Exchange Online, Gmail, etc.) is blocking Basic Auth or your PlayFab SMTP add-on isn’t configured correctly.
Go to https://myaccount.google.com/, Click "Security", enable Two-step Verification, once done, come back to the myaccount Security page, you will see "App passwords", open that, it will give you options for what you are trying to make a password for (a bunch of devices), select "Windows Computer", make a password, copy it, use this password in your code.
Once you've turned on 2-step verification in your Google account, you need to use that 16-digit app-specific password in your PlayFab SMTP add-on instead of your normal Gmail password. Only an app password will let PlayFab authenticate to smtp.gmail.com when MFA is enabled on your account.
Hope this helps!
If the resolution was helpful, kindly take a moment to click on and click on Yes for was this answer helpful. And, if you have any further query do let us know.