vmail 2.6.9 → 2.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +2 -3
- data/lib/vmail.rb +3 -3
- data/lib/vmail/version.rb +1 -1
- metadata +1 -1
data/README.markdown
CHANGED
@@ -229,14 +229,13 @@ mode if you're in the message list window or `,u` if you are in the
|
|
229
229
|
message window. Watch the status line.
|
230
230
|
|
231
231
|
If you have `notify-send` (Linux) or `growlnotify` (OS X) installed on
|
232
|
-
your system, Vmail
|
232
|
+
your system, Vmail can also poll your INBOX every 30 seconds for new
|
233
233
|
messages. If it detects a new message, it will alert you through your
|
234
234
|
notification program. **NOTE**: This is an alert mechanism only;
|
235
235
|
you will still have to manually check for new messages in the Vmail
|
236
236
|
interface to force the new messages to display.
|
237
237
|
|
238
|
-
To
|
239
|
-
`.vmailrc`.
|
238
|
+
To enable automatic inbox polling put the line `polling: true` in your `.vmailrc`.
|
240
239
|
|
241
240
|
## Switching mailboxes, moving messages, copying messages to another mailbox
|
242
241
|
|
data/lib/vmail.rb
CHANGED
@@ -62,14 +62,14 @@ module Vmail
|
|
62
62
|
puts "Starting vmail imap client for #{config['username']}"
|
63
63
|
|
64
64
|
# inbox poller
|
65
|
-
if config['polling'] ==
|
66
|
-
puts "INBOX polling disabled."
|
67
|
-
else
|
65
|
+
if config['polling'] == true
|
68
66
|
require 'vmail/inbox_poller'
|
69
67
|
inbox_poller = Vmail::InboxPoller.start config
|
70
68
|
Thread.new do
|
71
69
|
inbox_poller.start_polling
|
72
70
|
end
|
71
|
+
else
|
72
|
+
puts "INBOX polling disabled."
|
73
73
|
end
|
74
74
|
|
75
75
|
puts "WORKING DIR: #{Dir.pwd}"
|
data/lib/vmail/version.rb
CHANGED