The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Mail Plugin for Ruby-Wmii

0 replies.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a flat view of this topic  Flat View
Previous Topic   Next Topic
Threaded View: This topic has 0 replies on 1 page
Red Handed

Posts: 1158
Nickname: redhanded
Registered: Dec, 2004

Red Handed is a Ruby-focused group blog.
Mail Plugin for Ruby-Wmii Posted: Jul 6, 2006 9:07 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Red Handed.
Original Post: Mail Plugin for Ruby-Wmii
Feed Title: RedHanded
Feed URL: http://redhanded.hobix.com/index.xml
Feed Description: sneaking Ruby through the system
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Red Handed
Latest Posts From RedHanded

Using Mauricio’s ruby-wmii? I had a IMAP/POP3 checker in my last wmiirc and I decided to make it a plugin, to get familiar with Mauricio’s work. Put this in your ~/.wmii-3/plugins: mail-wmii-3.rb.

Add a few lines to your wmiirc-config.rb also:

 from "mail" do
 use_bar_applet "imap", 440
 end
 plugin_config["mail:imap"]["host"] = 'imap.yourhost.com'
 plugin_config["mail:imap"]["boxes"] = ['INBOX', 'INBOX.IN.%']
 plugin_config["mail:imap"]["summarize_at"] = 3
 plugin_config["mail:imap"]["user"] = 'mail-user'
 plugin_config["mail:imap"]["pass"] = 'mail-password'

One important line is the "boxes" setting. Use the percent sign as a wildcard for checking all boxes under a directory. Everything before the percent will be stripped when the box is displayed on the menu.

Read: Mail Plugin for Ruby-Wmii


Topic: Tonight's warm, fuzzy feeling... Previous Topic   Next Topic Topic: Preincrement plays, not about arithmetics actually

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use