如何配置 Mailgun 以与 Sign in with Apple 和 Apple 的中继服务一起使用?

How to configure Mailgun to be used with Sign in with Apple and Apple's relay service?

我已经按照 Apple 文档中的说明验证了我的域,但我仍然无法向 Apple 中继地址发送电子邮件。

我还将 Mailgun 日志 (postmaster@mail.mydomain.com) 中的发件人电子邮件 ID 添加到经过验证的地址中。

但运气不好。

SendGrid (https://sendgrid.com/docs/ui/account-and-settings/configuring-sign-in-with-apple/) 为您提供了一个要添加到 Apple Dashboard 的电子邮件地址,但我没有看到 MailGun 的类似解决方案。

如果有人遇到过类似情况,请分享您是如何克服这个问题的。

确保您的 mailgun 子域已通过验证。如果您的服务器位于 example.com 并且您的 mailgun 发送域是 sender.example.com 您需要在验证成功后将您从 https://developer.apple.com/account/resources/services/configure 下载的文件添加到您在 https://sender.example.com/.well-known/apple-developer-domain-association.txt 的主机上将看到一个绿色勾号和 mailgun 电子邮件到 *@privaterelay.appleid.com 应该发送到你的开发者帐户注册。