question

login avatar image
login asked

Recovery password custom template

Hello! I have a problem custom template.

So I sent to the endpoint POST https://C281D.playfabapi.com/Client/SendAccountRecoveryEmail

this body {"Email":"p.starkov+test2@xsolla.com","TitleId":"C281D","EmailTemplateId":"7509286346AEFFD9}

and I got a response from PlayFab with status code 200 like this

 {"code":200,"status":"OK","data":{}}

But I haven't received the recovery email with my Template.

apisAccount ManagementCustom Game Servers
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

·
Neils Shi avatar image
Neils Shi answered

If you want to use the Email Template to send the account recovery email, please make sure you have followed the document Setting up an SMTP server with Add-ons - PlayFab | Microsoft Learn to set up your SMTP server. And you can check the event details of sending email via data explorer, if the email is not sent successfully, you can provide the event details with us so that we can do some research.

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.

login avatar image login commented ·

Recently I used Google SMTP server from this Doc https://learn.microsoft.com/en-us/gaming/playfab/features/engagement/emails/setting-up-an-smtp-server-with-add-ons?source=recommendations#testing

This server not working with Playfab API in my case. When I tried to use another SMTP server and now all working well.

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.