Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • API and SDK Questions /
avatar image
Question by Martin Brandel · Nov 12, 2021 at 11:00 PM · Player DataAccount Management

Multiple contact emails?

The PlayerProfile.ContactEmailAddresses is a list, which made me assume you could add multiple contact email addresses for one account. However, this does not seem to be mentioned in the docs, the "AddOrUpdateContactEmail" api has no option on whether you are adding a new one or overwriting a previous one, and seems to imply that it could replace an active email.

So how do contact emails work? Why do I get a list if I cannot have multiple? If I can have multiple how do I add one one without replacing the existing emails?

Thanks.

Comment

People who like this

0 Show 0
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Rick Chen · Nov 15, 2021 at 09:17 AM

The AddOrUpdateContactEmail API adds a contact email to the player's profile. If the player's profile already contains a contact email, it will update the contact email to the email address specified. The current behaviour is by design, player cannot add multiple contact emails. If there is any business impact caused by this data structure, you can let us know.

Comment

People who like this

0 Show 2 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Martin Brandel · Nov 15, 2021 at 06:02 PM 0
Share

1. Can the primary account email and contact email be different?

2. If so how can we check if the primary account email is verified (does it show up in the contact email list returned by PlayerProfile)?

avatar image Rick Chen ♦ Martin Brandel · Nov 16, 2021 at 09:24 AM 0
Share

By “the primary account email”, do you mean the login email? If so,

>>Can the primary account email and contact email be different?

The login email is used to login the PlayFab account and receive the account recovery email, while the contact email is used to receive message from your title, thus they are different.

>>If so how can we check if the primary account email is verified?

The login email cannot be verified. The users can put any email as the login email. You can either allow users to register with any email or disable the relevant APIs such that no user is able to register account with email. However, you can let the users know that they may not be able to receive the account recovery email if they were using a fake email address as the login email.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    8 People are following this question.

    avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

    Related Questions

    I keep getting Uncaught errorLoggedIn on the Javascript SDK trying to GetPlayerProfile 3 Answers

    Saving data in Unity on Pause/Quit/Lose Focus 1 Answer

    How I can link Playfab with an already existing Azure active directory B2C implementation of player accounts 2 Answers

    AvatarUrl hidden limit: ImageUrl cannot exceed 200 characters 3 Answers

    New account doesn't return player profile 1 Answer

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges