在设置通过电子邮件回复时,我遇到以下错误:
ActionController::RoutingError (No route matches [POST] "/admin/email/handle_mail")
邮件似乎已正常接收(来自 Mailgun),但 Discourse 提示该路由不存在。
有什么建议吗?
在设置通过电子邮件回复时,我遇到以下错误:
ActionController::RoutingError (No route matches [POST] "/admin/email/handle_mail")
邮件似乎已正常接收(来自 Mailgun),但 Discourse 提示该路由不存在。
有什么建议吗?
Stopped getting above error (no route matches), but still getting 400. Not fixed, apparently can’t do easily with mailgun, there’s a plugin but it’s broken.
Maybe AWS SES & Lambda? I don’t understand, it seems like this should be a pretty darn standard feature, why is it so hard to find a simple tutorial?
There aren’t even any docs I can find explaining the format of the HTTP POST request to send to admin/email/handle_mail. Just this topic which is not explicit at all.
That topic contains your answer:
to push an email to Discourse, you need to pass the raw email content as the “email” parameter when POSTing to “
/admin/email/handle_mail”
Easiest way to get reply by email working is to use the mail-receiver container template, rather than trying to work with all sorts of varying APIs from the different providers.
Awesome. So hard to find, so easy to set up. Thank you!