Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rails 3 - Handle Incoming Messages (Allowing Users to reply to email notifications)

Right now my app sends out email notifications. I'd like to allow the user to reply directly to the email, which then gets ingested by my app and inserted into the database.

Are there any Rails gems, services, tutorials that can point me in the right direction.

Also, probably need to make the reply-to email have a UID, [email protected], so I don't have to rely on the from (sender).

What do you think?

Thanks

like image 932
AnApprentice Avatar asked Nov 15 '10 21:11

AnApprentice


1 Answers

We have a free service that posts incoming email to a url of your application (same as sendgrid API): http://www.smtp2web.com

You can also use the mailman gem if you want to poll for the email at regular intervals:
https://github.com/titanous/mailman

As far as the '[email protected]' kind of email addresses are concerned, you will have to create a catch-all address for your domain (it is better if you use a obscure subdomain, as it would reduce the amount of spam) which forwards all such email to a given mailbox(say [email protected]).

like image 164
amit_saxena Avatar answered Oct 16 '22 13:10

amit_saxena