I use an Azure function for password recovery and I call SendAccountRecoveryEmailAsync to send an email(from template) to the player.
Is it normal that PlayFab automatically sends the same recovery email to the players login email address and the players contact email address?
I have tried to call the Azure function with the players login email address and then PlayFab sends a recovery email to both email adresses. The same thing happens if I call the Azure function with the players contact email address, it sends two emails.
Does it matter which PlayFab recovery email the player uses to recover his password?
Azure function code:
string emailaddress = ""; if (jsonDict.TryGetValue("PlayerEmail", out emailaddress)) { log.LogInformation(emailaddress); } var request = new SendAccountRecoveryEmailRequest(); request.EmailTemplateId = "92F8DABB6183A281"; request.Email = emailaddress; return await adminAPI.SendAccountRecoveryEmailAsync(request);