如何设置 Sendgrid 入站解析和 ActionMailbox

How to setup Sendgrid Inbound Parse and ActionMailbox

我正在尝试使用 ActionMailbox 和 rails 添加 Sendgrid 入站解析 6. 我遇到的问题是如何检查 rails 是否正在接收来自 sendgrid 的电子邮件。我已确认 Sendgrid 收到了从我的帐户发送的电子邮件,但他们没有将其路由到我的邮箱。

请解释如何为 rails

设置 URL
https://actionmailbox:PASSWORD@example.com/rails/action_mailbox/sendgrid/inbound_emails

我在 action_mailbox.ingress_password 下的 rails credentials:edit 中添加了我的密码,如下所示:

action_mailbox:
   ingress_password: MY_PASSWORD_HERE

我还向 Heroku 添加了 master.key 以便它可以读取凭据 并设置 ActionMailbox 在 production.rb

中使用 sendgrid 作为入口
config.action_mailbox.ingress = :sendgrid

我明白了:您必须将密码添加为 HTTP "friendly" 并将其粘贴到显示 PASSWORD 的位置。

https://www.urlencoder.org/