summaryrefslogtreecommitdiff
path: root/lib/feed2imap/imap.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/feed2imap/imap.rb')
-rw-r--r--lib/feed2imap/imap.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/feed2imap/imap.rb b/lib/feed2imap/imap.rb
index 591f561..70a0aa0 100644
--- a/lib/feed2imap/imap.rb
+++ b/lib/feed2imap/imap.rb
@@ -93,13 +93,10 @@ class ImapAccount
# Put the mail in the given folder
# You should check whether the folder exist first.
def putmail(folder, mail)
- # TODO check response
@connection.append(folder, mail)
end
def updatemail(folder, mail, idx)
- # TODO check response
- # TODO keep flags of deleted mail
@connection.select(folder)
searchres = @connection.search(['HEADER', 'X-CacheIndex', "-#{idx}-"])
if searchres.length == 1