Displaying 1 result from an estimated 1 matches for "mailfetcherdaemon".
2007 Dec 06
1
Fetcher Daemon Questions - receive???
I''m starting to play with Slantwise.com''s Fetcher to process emails via
a Ruby script.
Here''s the basic code lifted from their plugin:
[code]
class MailFetcherDaemon < Daemon::Base
@config = YAML.load_file("#{RAILS_ROOT}/config/mail.yml")
@config = @config[RAILS_ENV].to_options
@sleep_time = @config.delete(:sleep_time) || 10
def self.start
puts "Starting MailFetcherDaemon"
# Add your own receiver object below
@fetch...