Skip to content

Set email to "read"? #422

Closed
jmuheim opened this Issue Aug 1, 2012 · 3 comments

4 participants

@jmuheim
jmuheim commented Aug 1, 2012

Hey there

I like your gem, but I'm definitely missing some way to mark an email to "read" after having received it. Please add this support.

Thank you

@sethvargo

+1

@sethvargo

+ reading FLAGS

@lawrencepit
Mail.find do |mail, imap, message_id|
  # process cq read +mail+
  imap.uid_store(message_id, "+FLAGS", [:Seen])
end

If something more is developed I would suggest there should be a generic solution, other flags include: :Answered, :Draft, :Flagged, :Marked and :Recent.

@jeremy jeremy closed this Jan 27, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.