Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass UID with messages #50

Open
vu0tran opened this issue Jun 17, 2015 · 3 comments
Open

Pass UID with messages #50

vu0tran opened this issue Jun 17, 2015 · 3 comments

Comments

@vu0tran
Copy link

vu0tran commented Jun 17, 2015

I know I can get the message_id but how about the UID of the email?

@vu0tran
Copy link
Author

vu0tran commented Jun 19, 2015

Got it. In the messageId property, it's just merged, e.g. "messageId"=>"INBOX!612907036?47339" then "47339" is the UID.

@vu0tran vu0tran closed this as completed Jun 19, 2015
@jtmoulia
Copy link
Contributor

Great that you found a solution, but a warning: that value is supposed to be opaque and might change in future versions. If so, we'll add an explicit way to access the UID.

@vu0tran
Copy link
Author

vu0tran commented Jun 19, 2015

Yeah, I figured. It doesn't get passed on "messages" which is what I needed, but I found a way to a hack at it. Thanks.

I feel like UID is pretty vital though. Without the UID, you can't defer any work to client side imap clients so I'm reopening.

@vu0tran vu0tran changed the title Is it possible to get the email UID? Pass UID with messages Jun 19, 2015
@vu0tran vu0tran reopened this Jun 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants