Sha256: 749d0dc61c3f3b7f513f68bb9e8ef54f89245c502c891cbc02c8735f7719cd80
Contents?: true
Size: 1.93 KB
Versions: 1
Compression:
Stored size: 1.93 KB
Contents
# mail_room # mail_room is a configuration based process that will idle on IMAP connections and POST to a delivery URL whenever a new message is received on the configured mailbox and folder. ## Installation ## Add this line to your application's Gemfile: gem 'mail_room' And then execute: $ bundle Or install it yourself as: $ gem install mail_room ## Usage ## bin/mail_room -c /path/to/config.yml ## Configuration ## --- :mailboxes: - :email: "user1@gmail.com" :password: "password" :name: "inbox" :delivery_url: "http://localhost:3000/inbox" :delivery_token: "abcdefg" - :email: "user2@gmail.com" :password: "password" :name: "inbox" :delivery_method: postback :delivery_url: "http://localhost:3000/inbox" :delivery_token: "abcdefg" - :email: "user3@gmail.com" :password: "password" :name: "inbox" :delivery_method: logger :log_path: "/var/log/user3-email.log" - :email: "user4@gmail.com" :password: "password" :name: "inbox" :delivery_method: letter_opener :location: "/tmp/user4-email" ## delivery_method ## ### postback ### ### logger ### ### noop ### ### letter_opener ### ## Contributing ## 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request 6. If accepted, ask for commit rights ## TODO ## 1. specs, this is just a (working) proof of concept 2. finish code for POSTing to callback with auth √ 3. accept mailbox configuration for one account directly on the commandline; or ask for it 4. add example rails endpoint, with auth examples 5. add example configs for god/upstart 6. log to stdout √ 7. add a development mode that opens in letter_opener by ryanb √
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mail_room-0.0.2 | README.md |