我在 Heroku 中使用 rails 6 设置 SendGrid 时遇到问题。我在 rails 中使用 Mailbox 并在入口中设置 SendGrid。正如 Rails 文档中提到的,这个 URL 应该添加到 SendGrid 中https://actionmailbox:PASSWORD@example.com/rails/action_mailbox/sendgrid/inbound_emails,但是当我尝试添加这个链接时, SendGrid 正在响应“错误请求”消息。
根据 SendGrid 文档https://sendgrid.com/docs/for-developers/parsing-email/setting-up-the-inbound-parse-webhook/我应该先设置 MX 记录,但我找不到 MX Recond在赫罗库。
这可能是什么问题?谢谢你!