I'm trying to write a mailer daemon of sorts. Here, I'm trying to look
through every email received in some inbox by searching through the message
body for a certain keyword. If the keyword was mentioned, an appropriate
response is sent.

The action mailer
guide<http://guides.rubyonrails.org/action_mailer_basics.html#receiving-emails>is
quite useful:

"1. Implement a receive method in our mailer.

2. Configure your email server to forward emails from the address(es) you
would like your app to receive to /path/to/app/script/runner
'UserMailer.receive(STDIN.read)'."

But I'm not sure how to do the second part: the email I'm dealing with is a
Gmail account. How does this work?

Thanks,

Sid

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to