Changeset 20384 for lang/ruby/misc/imap_fetch_and_forward.rb
- Timestamp:
- 10/01/08 20:39:36 (3 months ago)
- Files:
-
- 1 modified
-
lang/ruby/misc/imap_fetch_and_forward.rb (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/ruby/misc/imap_fetch_and_forward.rb
r17114 r20384 23 23 # user: dankogai 24 24 # pass: kogaidan 25 # folder: foobar 25 26 # 26 27 # If you save this file to "~/configuration.yml", … … 93 94 imap_user = conf['imap']['user'] 94 95 imap_pass = conf['imap']['pass'] 96 imap_folder = conf['imap']['folder'] 95 97 imap = Net::IMAP.new(imap_host, imap_port, imap_ssl) 96 98 imap.login(imap_user, imap_pass) 97 imap.examine( 'hokkaido')99 imap.examine(imap_folder) 98 100 imap.search(%w[UNSEEN]).each {|mid| 99 101 envelope = imap.fetch(mid, 'ENVELOPE')[0].attr['ENVELOPE']
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)