summaryrefslogtreecommitdiff
path: root/lib/feed2imap/imap.rb
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/feed2imap/imap.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/feed2imap/imap.rb b/lib/feed2imap/imap.rb
index e9bbb63..038833b 100644
--- a/lib/feed2imap/imap.rb
+++ b/lib/feed2imap/imap.rb
@@ -95,7 +95,7 @@ class ImapAccount
# Put the mail in the given folder
# You should check whether the folder exist first.
def putmail(folder, mail, date = Time::now)
- @connection.append(folder, mail.gsub(/\n/, "\r\n"), [:Recent], date)
+ @connection.append(folder, mail.gsub(/\n/, "\r\n"), nil, date)
end
# update a mail