question

yarden avatar image
yarden asked

How to get a new player's email sent to my backend?

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

yarden avatar image yarden commented ·

Hi There,

I'd like to create a cloud script that sends me the email address of every new player - and we can't figure out how to do it through the API - please advise?

How to get the login email through the API?

Thank you!

0 Likes 0 ·

1 Answer

·
brendan avatar image
brendan answered

How are you currently getting the player email address? Are you using email/password as your login mechanism? If so, the email address is available in the PrivateInfo of the player account info you get from Server/GetUserAccountInfo.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.