I’m trying to figure how best to write an email listener – basically,
something that listens for particular keyword(s) at an account and
responds appropriately. Any ideas?
Thanks!
Siddarth
I’m trying to figure how best to write an email listener – basically,
something that listens for particular keyword(s) at an account and
responds appropriately. Any ideas?
Thanks!
Siddarth
On 06.05.2010 01:36, Siddarth Chandrasekaran wrote:
I’m trying to figure how best to write an email listener – basically,
something that listens for particular keyword(s) at an account and
responds appropriately. Any ideas?
Procmail can be made to do this:
Bad news is that you might not even need Ruby for that. ![]()
Kind regards
robert
Siddarth Chandrasekaran wrote:
I’m trying to figure how best to write an email listener – basically,
something that listens for particular keyword(s) at an account and
responds appropriately. Any ideas?
You could write a program which polls a POP3 mailbox periodically, and
sends replies.
Or you could write a program which accepts an E-mail on stdin, and
configure your MTA to deliver mail for a certain address directly to
that program, e.g. using a .forward file or an entry in /etc/aliases.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs