Module: OnlyofficeIredmailHelper::MessageMethods
- Included in:
- IredMailHelper
- Defined in:
- lib/onlyoffice_iredmail_helper/message_methods.rb
Overview
Methods to work with messages
Instance Method Summary collapse
-
#mark_message_as_seen(message_id, close_connection: true) ⇒ nil
Mark message as seen.
Instance Method Details
#mark_message_as_seen(message_id, close_connection: true) ⇒ nil
Mark message as seen
10 11 12 13 14 15 |
# File 'lib/onlyoffice_iredmail_helper/message_methods.rb', line 10 def (, close_connection: true) login @imap.select('INBOX') @imap.store(, '+FLAGS', [:Seen]) close if close_connection end |