Routing Inbound Emails with Actionmailbox Discussion
Loved the nifty regx trick.
Also liked the
if(user = User.find_by(....))
user
else
...
end
Didn't know you could define values in if statements and use them to return, will definately be using this in my day to day.
Will the source code for this project be available after the next episode?
When I send an email from the incoming email mailbox UI, my emails are always in pending status, for what reason is it?
This happened because I did not have my Sidekiq server up, since these inbound emails are queued by jobs
Hey if anyone is trying this on rails 7 and getting the issue when creating an inbound email around 11:40 in this video, see here for a fix: https://github.com/rails/rails/issues/43928#issuecomment-1045342374