question

Matthew Draper avatar image
Matthew Draper asked

Handling email unsubscribe?

Hi, if we're to use PlayFab's email templates to contact customers, I believe every email should have a working 'unsubscribe' link? How would be go about achieving that in the email template?

Content
10 |1200

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

1 Answer

·
Seth Du avatar image
Seth Du answered

Currently, PlayFab does not support ‘unsubscribe’ link in email template.

Depends on your situation, you may need an external web server you host to achieve this. In the email template, you can put a link to the external server, where players will need to log into PlayFab for verification. Then you can make the server to erase the player email using RemoveContactEmail API, to achieve ‘unsubscribe’.

Or you may integrate RemoveContactEmail API on your client side for players to erase their email, which would be easier.

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.

Daniel González avatar image Daniel González commented ·

I think it would be useful to be able to use RemoveContactEmai from the ServerAPI or AdminAPI for this purpose. This way you could avoid having to ask your users to log into their accounts in order to unsubscribe. (If the user wants to unsuscribe, probably they already removed your game, and don't want to be annoyed like that...)

0 Likes 0 ·

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.