question

Maximilian Weber avatar image
Maximilian Weber asked

Attaching external email templates through e.g. Mailgun

We are utilizing Mailgun for all of our services and would like to utilize them for email templates for game related emails including announcements but also account related events such as email recovery and so on.
Is this possible somehow?

Right now we have a rule setup to send an email confirmation request. Are we able to attach the logic responsible for verification/recovery through this external service provider? Mainly the email token I assume?

Account Management
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

·
Rick Chen avatar image
Rick Chen answered

Currently, PlayFab does not support Mailgun. If you would like this feature, you could post a thread in the Feature Request Forum.

For the event related email, you could use the Webhooks on your custom server. You could create an API that use Mailgun to send email, and add the Endpoint URI to the webhook. This URI will be hit when the Event occurs. However, please note that the webhook implements “at least once” delivery semantics. This means, for any given message we will retry until we get positive confirmation from the receiver. Please refer to: https://community.playfab.com/questions/49792/webhook-sends-data-multiple-times-to-a-google-apps.html. Your API should handle any duplicate message.

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.

Maximilian Weber avatar image Maximilian Weber commented ·

Webhooks should be fine for this thanks!

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.