diff options
author | Lucas Nussbaum <lucas@lucas-nussbaum.net> | 2008-07-13 17:34:20 +0200 |
---|---|---|
committer | Lucas Nussbaum <lucas@lucas-nussbaum.net> | 2008-07-13 17:34:20 +0200 |
commit | 157b10e7f803cdae7997d30765a8272ff4dbb1a0 (patch) | |
tree | 0c20a17a4618fe77e8248fb820234ddcb2945108 /lib | |
parent | 6c21ed9e3fa837c797a4de27ea3a59ff2404454f (diff) | |
parent | 9c00e1b750c54d1a5b5a7623bfcbf9416ec4b790 (diff) | |
download | feed2imap-157b10e7f803cdae7997d30765a8272ff4dbb1a0.tar.gz feed2imap-157b10e7f803cdae7997d30765a8272ff4dbb1a0.tar.bz2 feed2imap-157b10e7f803cdae7997d30765a8272ff4dbb1a0.zip |
merged.
Diffstat (limited to '')
-rw-r--r-- | lib/feed2imap/imap.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/feed2imap/imap.rb b/lib/feed2imap/imap.rb index 952fd7c..63cd733 100644 --- a/lib/feed2imap/imap.rb +++ b/lib/feed2imap/imap.rb @@ -112,6 +112,7 @@ class ImapAccount flags = @connection.fetch(searchres[0], 'FLAGS')[0].attr['FLAGS'] searchres.each { |m| @connection.store(m, "+FLAGS", [:Deleted]) } @connection.expunge + flags -= [ :Recent ] # avoids errors with dovecot end @connection.append(folder, mail.gsub(/\n/, "\r\n"), flags, date) end |