Basically I want to send email to customers but it fails because all the user does not have contact email. And there is not automation process so that we can fill that. I just need to wait until all user login again.
Basically I want to send email to customers but it fails because all the user does not have contact email. And there is not automation process so that we can fill that. I just need to wait until all user login again.
If you want to set up a ContactEmailAddress for player:
You can call AddOrUpdateContactEmail in the callback of RegisterPlayFabUser and pass in email as a parameter.
Or you can call GetPlayerProfile in the callback of LoginWithEmailAddress to check whether the ContactEmailAddress is set, if not, call AddOrUpdateContactEmail. To implement this feature, you need to check ContactEmailAddresses in Game Manager->Title settings->Client Profile Options.
If you want to get the user's login email:
You can set up a ScheduledTask (implemented by Azure Function) that applies to all players, and call GetUserAccountInfo to get the player's login email,and then you can store or do some processing you want.
You can refer to this thread Populate Contact Email field with Account Emails,Populate contact email field with account email address – Playfab Community.
8 People are following this question.