Handling Inbox on Heroku

For my third-party kwiqi project , I use the ActionMailer receiving method to process incoming email messages to track my expenses. Heroku does not have a local mail server that does not work. One of the solutions that I was thinking about is to periodically click on the action of the controller, which pulls messages from Gmail. Are there other reasonable solutions? Does anyone handle incoming emails at Heroku?

+5
source share
4 answers

Heroku supports working employees with DelayedJob. Workers are located in the same way as Dynos (you pay by the hour), and for this you get a dedicated resource for processing your letters.

In the past, I used Cron, the calling controller in my application. It is quite effective.

If the hourly limit is a problem, you can call your application from another place ... I have a cheap Dreamhost account for some of my non-priority sites that I used as Cron systems.

There are also many ping and uptime services that you can use for this purpose ... just transfer these services to your email controller.

+4
source

, , , , http:///CloudMailin.com Heroku, Heroku Rails .

+7

Heroku , , cron, .

I would recommend using Gmail and using delayed work as an alternative to cron to set a more reasonable frequency. There is a good guide on setting this option on WiseJive

+2
source

All Articles