Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Set email to "read"? #422

Closed
jmuheim opened this Issue · 3 comments

4 participants

@jmuheim

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

+ 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
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.