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

Listener for New Messages #26

Closed
mjmon opened this issue Oct 2, 2020 · 2 comments
Closed

Listener for New Messages #26

mjmon opened this issue Oct 2, 2020 · 2 comments

Comments

@mjmon
Copy link

mjmon commented Oct 2, 2020

Hello and good day

I came across this package and was wondering if there's an existing listener for incoming Messages on this Package?
Maybe something like below

imapClient.onNewMessage((event) => {
 //do something
})

I was planning to trigger a local notification if there's a new message so I was looking for a listener

Looking forward to your response.

Thank you

@michaelspiss
Copy link
Owner

Hi, this package is in need of a major rewrite which I wanted to do once dart officially supports data classes (it's now been three years since they proposed it). Due to time constraints on my end I had to leave it in the state it currently is - which sadly means that a listener for incoming messages is not supported yet.

@mjmon
Copy link
Author

mjmon commented Oct 5, 2020

Thank for your reply. I'll close this one for now

@mjmon mjmon closed this as completed Oct 5, 2020
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